Just a quick questions, can someone tell me what || means in php?
Thanks
Matt
|| == logical "or" && == logical "and"
logical operators all operators
You can use and and or instead of && and || respectively
ClarkF1 wrote:You can use and and or instead of && and || respectively
Note that there is a difference in precedence between these methods, though. 99.9% or so of the time it doesn't matter, but there are some situations where it can (see http://www.php.net/manual/en/language.operators.php#language.operators.precedence).