Which is the correct syntax for this comparsion operator

kostasfeg

New Member
Which is the correct syntax for is not equal to operator this -> !=\[code\]if($ses_startdate != $startdate) { echo "I am true"; }\[/code\]or this -> !==\[code\]if($ses_startdate !== $startdate) { echo "I am true"; }\[/code\]I had been using !== earlier and it worked without any problem but not it is creating the problem with some condition and when i changed it to != it works fine.. why is that?
 
Back
Top