1 Example of an If Condition Syntax. @endif (condition) /* Statements inside the if body */
2 Condition if - else Syntax. @if (condition) /* Statements within the if body */ @else /* If body */ @endif
3 Condition if-elseif-else Syntax.
Conditional statements are a powerful tool in the English language. They can make your writing more concise and clear.
This is what a conditional statement looks like in PHP:
if ($a == "yes") { echo "Yes"; } else { echo "No"; }
Conditional statements also allow you to write more readable code by clearly separating the logic that is needed for each case of the if-else chain.
Learner's Ratings
4.5
Overall Rating
83%
3%
7%
3%
4%
Reviews
A
Abdul Sattar
5
Please update course
A
Ali Haidar
5
awesome
M
Muzammal
5
Best Experience Ever
J
Jatin
5
this tutorial help me to learn laravel ..
Outstanding Course
G
gautam metaliya
5
good experiance
B
bokhtiar toshar
5
Thank you so much,
A
Anuj Tyagi
5
Thank you so much. You are doing a good job and your way of teaching is very good.
M
mohit mistry
5
Sir, very good explanation in video but sir which screen recoder you used for making this kind of video???
R
RUPESH MISHRA
5
sir please make a video how to use bootstap in laravel without cdn link..
Share a personalized message with your friends.