1. "Hello World"' or "Try to get a
simple script running before you attack the difficult ones !"
Here is the unavoidable "Hello World" example, customized to be
used as PHP. To see it in action you can try it here "Hello
World" .
NB: There are a few more lines to the script than absolutely necessary but
since they represent good practice and you should get used to them, they appear
already here !
<html>
<head>
<title>The Unavoidable Hello World Example ;-)</title>
</head>
<body bgcolor="#fffcc9">
<?php print "<h1>The Unavoidable Hello World Example </h1>" ?>
</body>
</html>
|
A few remarks which might help you to get started:
|
Windows |
The script must have the correct extension, e.g. '.php' |