PHP Basics In Pictures

TIP: If you�re writing a comment in a script and it wraps to the next line, it needs a new # character in front.

Incorrect:

# The second line lets a browser
display the script output.

Correct:

# The second line lets a browser
# display the script output.

  1. Save this script as comments.php in the PHPSCRIPTS folder on your computer.