My First PHP Script

Follow the all steps and create your first PHP script:
1. Open a new file in your text editor.
2. Type the following HTML

<HTML>
<HEAD>
<TITLE>My First PHP Script</TITLE>
</HEAD>
<BODY>

3. Type the following PHP code:
<?
echo "<P><em>Hello World! I'm using PHP!</em></P>";
?>

4. Add some more HTML so that the document is valid:
</BODY>
</HTML>

No comments:

Post a Comment