PHP conditional syntax: inequality
To determine if two values are not equal, use the inequality operator:
if ($var1 != $var2)
echo "Nope... not the same";
To determine if two values are not equal, use the inequality operator:
if ($var1 != $var2)
echo "Nope... not the same";
Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment