Jump to content

too many or's?


efficacious

Recommended Posts

hello everyone,

 

can anyone tell me why only two of these would be parsed?

 

if($_SESSION['ID']=='2' || $_SESSION['ID']=='1' || $_SESSION['ID']=='3' || $_SESSION['ID']=='4')

 

for some reason only 2 of these the first ones are parsed.. i'm at a loss as to why

 

thanks for you suggestions,

eff

Link to comment
https://forums.phpfreaks.com/topic/119889-too-many-ors/
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.