I would like to be able to say in php something like this:
Is there anything like this in php? or do I have to say:Code:if(field1 != 0 AND field2 NOT IN (5,8,10) { do something; }
The second way seems so messy. Thanks!Code:if(field1 != 0 AND (field2 != 5 AND field2 != 8 AND field2 != 10)){ do something; }



Reply With Quote

Bookmarks