PHP Tutorial - #1 Hello World
| Syntax | ||
A PHP file normally contains HTML tags, just like an HTML file, and some PHP scripting code. Below, we have an example of a simple PHP script which sends the text "Hello World" to the browser: |
||
| Code | ||
<?php echo "Hello World"; ?> |
||
| Result | ||
| Hello World |
©Fairweather WebDesign 2007