e1seix Posted February 10, 2008 Share Posted February 10, 2008 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 More sharing options...
kenrbnsn Posted February 10, 2008 Share Posted February 10, 2008 <?php if ($name != 'Mary'){ print $name; }?> Ken Link to comment https://forums.phpfreaks.com/topic/90401-quick-if-statement-query/#findComment-463459 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.