It should display in a browser as:
<html>< head >< title > php test< /title > < /head >
< body >
hello world<P>
< /body></html>
You will need to save the file with a .php extention, and in order to correctly display output you will need php installed, if you are on windows you can download precompiled binaries of apache from apache and precompiled binaries of php from
php
It doesn't really matter what editor you use, but I would suggest a plain text editor ie notepad since wordpad and word etc, can add unwanted characters.
Also as a side point you don't need to have the gaps in the html ie:
< body >
Would be better displayed as:
<body>
Also when adding code in the forum using the [code][/code] tags makes it easier to read.
HTH
Ben