Home Web application programming PHP programming PHP conditional syntax: inequality

PHP conditional syntax: inequality

To determine if two values are not equal, use the inequality operator:

if ($var1 != $var2)
echo "Nope... not the same";

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

error: Content is protected !!