Jump to content

Quick If statement query


e1seix

Recommended Posts

it's actually quite hard to track this down online. i have tried for a bit of time.

 

In a php if statement or indeed SELECT statement, we all know it's possible to say something like...

 

if ($name==Mary){
print $name;
}

 

etc etc. How exactly do you work it if you want to return all answers where $name in this case is NOT Mary. What would replace the "=="

Link to comment
https://forums.phpfreaks.com/topic/90401-quick-if-statement-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.