here is the code
<html> <head> <title>Hello in PHP</title> </head> <body> <h1>Hello in PHP</h1> <? print "Hello, world!"; phpInfo(); ?> </body> </html>
i used easyphp to install apache php and mysql
Edited by Orjan, 31 December 2010 - 12:44 PM.
<html> <head> <title>Hello in PHP</title> </head> <body> <h1>Hello in PHP</h1> <? print "Hello, world!"; phpInfo(); ?> </body> </html>
Edited by Orjan, 31 December 2010 - 12:44 PM.
|
|
|
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
print "Hello, world!";
phpInfo();
?>That will turn on error reporting, and it should tell you "Call to undefined function phpInfo();"<?php print "Hello, world!"; phpinfo(); ?>
0 members, 1 guests, 0 anonymous users