The complete programming solution for the beginner
Ternary Operator in Php
Ternary operator is simply short form of if/else statement. Ternary operator is also known as SHORTHAND operator.
The logic of using the Ternary operator is " (condition) ? true statement : false statement "
Example :-
No comments:
Post a Comment