0

If function in php

Help me to understand abuot *if* in php

13th Nov 2019, 10:06 PM
Nader Ezeldein mohamed
Nader Ezeldein mohamed - avatar
2 odpowiedzi
+ 1
It's like this : if(condition){ #do it } In condition you can check any thing! If condition was true #do it code will run. but if condition was false #do it code will not run! In this case if we write : if(4 == 5) It's not true so your #do it code will not run.
13th Nov 2019, 10:13 PM
Majid Jalilian
Majid Jalilian - avatar
+ 1
Ohhh thanks it is clear
13th Nov 2019, 10:14 PM
Nader Ezeldein mohamed
Nader Ezeldein mohamed - avatar