Home : Advice : <?PHP ?> Tutorials : Print Text


In this tutorial you will learn how to print text on php page.

Code

<?php

// This is a comment.

echo 'Hello World!';

?>

To print text out you need to use the echo command. Put what ever you want printed inside the single quotes and end the statement with a semicolon.

 


Copyright 2004 - 2005 FREEWEBHOSTINGADVICE.COM Contact | Privacy Policy & Legal