PHP – if Statements Eli the Computer Guy PHP Programming (NEW) If Statements allow you to trigger code if specific conditions are met. <?php $age = 20; print “Your Age is $age”; print “<br>”; if ($age < 18) { print “you too YOUNG”; } ?> PHP
PHP Programming (NEW) PHP – Comparison Operators Eli the Computer Guy PHP Programming (NEW) Comparison Operators allow you to compare variable values against values to determine whether an event should trigger. You use Comparison Operators in Loops and If Statements.
PHP Programming (NEW) PHP – Code Reuse – include Eli the Computer Guy PHP Programming (NEW) Using includes you can reuse the same code in multiple scripts.
Be the first to comment