Cameron Garnett/Testpage5

Super Quick PHP Tutorial
Introduction
 * Basic Syntax
 * Sending Data to the Browser
 * Comments
 * Variables
 * Strings
 * Functions
 * Quotes
 * Debugging
 * Form

Sending data to the Browser
In PHP there are two ways you can get what you want to show up on the screen.

first of all is the ECHO command.

In this next example I will add some variables into the sentence to show you how you would output a variables within a string with the echo command.

The second way to output to the browser is the print command. It works the same way as the echo command. For example

Be careful so that you don't type "." instead of ";" at the end of a line.

The output is "axbc", because of the dot on the first line.