Writing a Simple PHP Script
A PHP script starts with <?php tag and ends with the ?> tag. These scripts are embedded in the BODY tag of the HTML file. A PHP file is saved with a .php extension.
For examle:
1) To display current date
|
<HTML> |
result :
| The Date is March 10 2008 |
2) To dislay simple text in the browser
|
<HTML> |
result:
| Hello Everybody |





