RE: [PHP] VERY novice question!

From: Date: Thu, 14 Feb 2002 17:48:18 +0000
Subject: RE: [PHP] VERY novice question!
Groups: php.general 
Request: Send a blank email to php-general+get-84773@lists.php.net to get a copy of this message
Just go with your instincts, you got 'em ;) &&, AND for "and" ||, OR for "or". The symbols are at one precendece level higher than the words, I believe. Kirk > -----Original Message----- > From: brendan conroy [mailto:brendanconroy80@hotmail.com] > Sent: Thursday, February 14, 2002 10:47 AM > To: php-general@lists.php.net > Subject: [PHP] VERY novice question! > > > Thanks for reading this! This is a really novice question but > I cant find > any info about this in the online manual. I would be grateful > if someone > could email me the PHP equivalent of the "&&"(AND) and > "||"(OR) operators > which are used in C. > I'am trying to write if statements like > > if((($m[0]=="-")&&($count<2))||($count++"0")) > { > } > > > I be grateful for any replies!! > > Thanks, > > > Bren

« previous php.general (#84773) next »