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 – Text Editor for Writing… Eli the Computer Guy PHP Programming (NEW) You can use basic ASCII Text editors to write PHP code. You simply need to save the file with the .php extension.
PHP Programming (NEW) PHP – Redirect Web Page – header() Eli the Computer Guy PHP Programming (NEW) You can use PHP to redirect visitors to your web page to different pages automatically. This can be good for maintenance tasks and for marketing tracking.
Be the first to comment