How to publish our php pages
If you want to publish in the server (i.e. in the remote site) you have to save before the file test.php in the local site, i.e. in a folder in your PC.
The local site must have a file called index.htm too; it will work like a home page. You have to create a link from index.htm to test.php
How to enter in the remote site:
In case of syntax error, a message like:
PARSE ERROR .... will appear with the line of the program where the
error was found (perhaps it can be in a previous row).
In this case, be patient and try to understand what is the error, then rectify it (in the local site) and upload again the modified file in the remote site.