I am trying to make my first steps in php.
I wrote:
<?
This script will produce a page of HTML
print "<html>";
print "<head>";
print "<title>PHP Test 2</title>";
print "</head>";
print "<body>";
print "<center>";
print "<h1>PHP is Great!</h1>";
print "</center>";
print "<hr>";
print "<p>The header of this page is overhead thanks to \"PHP\".</p>";
print "</body>";
print "</html>";
# End of PHP document
?>
very simple... suppose to be.
I upload it to a php server and view it through the internet.
but every time I got this result:
"; print ""; print ""; # End of PHP document ?>
whats wrong?