I can't compare two $variables
in the if
condition. for example this code is not working:
if($var1 == $var2)
{
code;
}
but that works when I compare one of the with an string or bolean:
if($var1 == 1)
{
code;
}
Note: This only happens when I use this operator: ==
Aucun commentaire:
Enregistrer un commentaire