Quote:
When I store the above code under .php extension, I am getting parser error.
|
The big problem is that your mixing XML and HTML....And calling the page as a PHP script.
First.....PHP Scripts must be under <?php ?> tags.
Second....If you use the html extension....it gives you error, coz the code is not parsed.
If you just the <?XML?> as the first line....It's ok, cause your really not using any XML tag.
Greetings,
Blag

h34r: