Jump to content

Archived

This topic is now archived and is closed to further replies.

Monshery

Does or works if both cases are true ??

Recommended Posts

for eg:

[code]
blabla = "1";
blabla1 = "1";

if((isset(blabla)) or (isset(blabla1)))
echo "working";
[/code]

well realy stupid question but its the source for my big problem :"-)

Share this post


Link to post
Share on other sites
Yes, Thats a or (||) if condition, if either or both result in true, then it will continue, else...

Share this post


Link to post
Share on other sites

×

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.