⊗ppPmCdIE 67 of 447 menu

If-Else Construct in PHP

Now we will study a special if-else construct, which allows executing some code depending on the fulfillment of a certain condition. The syntax of the construct looks like this:

<?php if (comparison operation) { /* the code located here will execute, if the result of the comparison operation is true */ } else { /* the code located here will execute, if the result of the comparison operation is false */ } ?>
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline