PHP From A to Z
PHP is not much use unless you can actually output data to the browser. There are several ways to accomplish this task and it requires the use of any one of four different statements. These statements are: echo print() printf() sprintf() What one you use and when depends on the circumstance.