I am new to MYSQL and I have the a very simple program and it does not work:
<HTML>
<BODY>
<?php
print "test";
?>
</BODY>
</HTML>
When I access this file with my browser I don't see the line "test".
How come??
Thank you very much.
Printable View
I am new to MYSQL and I have the a very simple program and it does not work:
<HTML>
<BODY>
<?php
print "test";
?>
</BODY>
</HTML>
When I access this file with my browser I don't see the line "test".
How come??
Thank you very much.
Did you name the file with a .php extension? Or did you use .html? .php must be used unless XBitHack is set in the web server.
I named the file index.htm.Quote:
Originally posted by jtsmoke
Did you name the file with a .php extension? Or did you use .html? .php must be used unless XBitHack is set in the web server.
By now I know that I must call it
index.php and it is working.
Sorry for the simple question but I am
entirely new to PHP. :)