PHP Basics In Pictures
  1. In the browser, go to:

    www.yourwebsite.com/phplinks.html
  2. Click the 7. Double vs. single quotes link.

    The output should look like this:

    TIP: Using single quotes () with the print function

    print <p>Which one of $cars_on_lot is right for you?</p>\n;

    prints literally everything in between the two quotation marks (Except HTML tags, such as the <p> and </p> tags.

    If you want to display the value of a variable, use double quotes ("):

    print "<p>Which one of our $cars_on_lot cars is right for you?</p>\n";