php if variable equals

Solutions on MaxInterview for php if variable equals by the best coders in the world

showing results for - "php if variable equals"
Mía
24 Jan 2019
1<?php
2	// if given an variable to check or validate
3  	$text = "issac";
4	if($text == "issac"){
5    	echo "Cool";
6    }else{
7    	echo "Huston, We've got a problem";
8    }
9
10// result : Cool
11
12//Symbol Guide: 
13// == ->> Equals to
14// === ->> Strictly Equals to
15// != ->> Not Equals to
16// !== ->> Strictly not equals to 
17// Hope this helps Godspeed.
18?>