Jump to content


Photo

Does or works if both cases are true ??


  • Please log in to reply
2 replies to this topic

#1 Monshery

Monshery
  • Members
  • PipPipPip
  • Advanced Member
  • 44 posts

Posted 30 June 2006 - 10:46 AM

for eg:

blabla = "1";
blabla1 = "1";

if((isset(blabla)) or (isset(blabla1)))
echo "working";

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

#2 heckenschutze

heckenschutze
  • Members
  • PipPipPip
  • Advanced Member
  • 257 posts
  • LocationAustralia

Posted 30 June 2006 - 10:56 AM

Yes, Thats a or (||) if condition, if either or both result in true, then it will continue, else...

#3 Monshery

Monshery
  • Members
  • PipPipPip
  • Advanced Member
  • 44 posts

Posted 30 June 2006 - 11:00 AM

thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users