PHP Basics In Pictures
  1. Create a new script with this code:


    $cars_on_lot = 10;

    print "We have $cars_on_lot cars.\n

    print "We got another new car.\n


    print "Now we have $cars_on_lot cars!\n<p>";

    print '<b>$cars_on_lot++</b> is the same to PHP as <b>$cars_on_lot + 1.</b>';

  2. Save the script as autoplus.php in the PHPSCRIPTS folder.

    Here's what the relevant lines in this script do: