Right now, I have several pages that use IF statements to compare a variable against different values:
Is there anything in PHP similar to MySQL's IN() clause? It would help me clean up a lot of code.Code:if(($value=='a')||($value=='b')||($value='c')){



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks