PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
if(condition1,condition2,condition3) {//i do my action is here
}
question is ,i dont know wat to use at "condition1,condition2,condition3" to divide the 3 things.i know that it is not the comma (,). can someone tell me what i would use there?
Although semantically the same, it is important to note that 'or' and '||' have different levels of precedence. '||' has higher priority than 'or' by a few notches.
Personally, learning the difference between when to use || or && was difficult for me.. I don't know if it was this way for other people.
But when I learned that everything between if() will evaluate to TRUE or FALSE it was much easier for me to grasp.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.