How Does PHP Work?
PHP is a server-side scripting language.
When to use
PHP is great for front-end web development.
PHP code is written on a web page, but executed on the server.
PHP code is written inside a PHP tag that looks like this:
<?php is the openeing tag, and ?> is the closing tag.
PHP statements end in a semi-colon.
Hints & tips
- PHP is a server-side scripting language.
- PHP code goes inside this tag: <?php ?>
- PHP statements end with a semicolon
Lesson notes are only available for subscribers.