|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Stupid questions...
Hi, I'm looking to find something out really simple, and it's bugging me. Basically, I'm looking to find out the php code which has the equivalent meaning of "OR"
eg: PHP Code:
I think it's || but can't be sure... |
|
#2
|
|||
|
|||
|
Logical Operators 101
Code:
and = is true if both args are true or = is true if either or both args are true ! = is true if single arg to the right is false, and false if its true xor = is true if either of the two args are true && = same as and, but binds more tightly || = same as or, but binds more tightly
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Stupid questions... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|