Jump to content

[SOLVED] Complex Conditional


me1000

Recommended Posts

 if ($store == '1' && !((isset($unsafe['in'])) || (isset($unsafe['buy'])) ) ){ 

 

so this is what it does,

if $store == 1 keep going else return false

if $in isset return false or if $buy isset return false

 

so in layman's terms,

is neither $in nor $buy are set and $store == 1 return true...

 

What is wrong with my conditional?

 

Thanks,

Link to comment
https://forums.phpfreaks.com/topic/89273-solved-complex-conditional/
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.