PHP Conditionl Statements :-
हर language में statement एक sequence के अनुसार execute होते है । लेकिन कई बार program मे ऐसी situation भी आती है कि condition को statement के आधार पर execute करना होता है ।
PHP Language में Statement को condition के अनुसार execute करने के लिए condition statement दिये जाते है ।
Conditional Statement मेँ if keyword का use condition के अनुसार exicute करने के लिए किया जाता है यह expression को evaluate करता है तथा true या false execute करता है ।

Figure:-PHP Conditional
उपरोक्त Diagram में if Statement में हम यदि कोई condition देते है यदि conditional true होती है if block code execute होता है और यदि conditional false होती है तो else block वाला code execute होता है ।