Here’s a simple PHP Hello World Example

< html >
< head >
< title > PHP says hello < /title >
< /head >
< body >
< b > < ? php print "Hello, World!"; ? > < /b >
< /body >
< /html >


How do I run a php file ?

• Create a service suitably in IIS/Apache..
• Run the said file by browsing the same.

PHP Templates

For reuse & easy maintenance one can use PHP Templates


< html >
< title >{TITLE}< /title >
< body >
{CONTENT}
< /body >
< /html >