Re: [PHP] VERY novice question!

2002-02-14 Thread Andrey Hristov
They are && and ||, also there are "AND" and "OR" case insesitive. But you have to know taht && and "and" have different place in the precedence table. The same is for || and "or". But This is very rare case to rely on the precedence. if((($m[0]=="-")&&($count<2))||($count++"0")) this seems ok

RE: [PHP] VERY novice question!

2002-02-14 Thread Johnson, Kirk
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:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 10:47 AM > To: [EMAIL