PHP Whether the condition is true or false, the if-else expression is executed. The if-else statement differs slightly from the if statement. If the stated condition is true, it executes one piece of code; if the condition is false, it executes another block of code.
In the code, there are roughly 50 more if statements. I always give a POST parameter cmd to my ajax.php file, which checks if the variable is set and executes various code depending on the value of the variable.
If / Else/ Else If conditional statements have more than one condition, they are called if conditional statements. Only if the first condition is false will the second condition be examined. If the second one is false as well, the programme will fall back to else or do nothing.
If none of the conditions in the if statement evaluate to true or if one of the conditions evaluates to true, the if statement will terminate. The first true condition's statement(s) will evaluate, and the if statement will come to an end. For additional information, see If–then(–else) on Wikipedia.
good for all youtuper.
VAISHNAVI RAJESH CHALKE
Lover you method of teahing. Every topic explained on very detail. Thank you
Explaining each and every concept very deeply
Aap log mushkil cheezo ko kitni asaani se samjha dete hain , great
Share a personalized message with your friends.