my MySQL doesn't work ?_?'
I have tried a lot to get it to work, followed the instructions exactly.
I used a mysql test file to check it.
here is the error
Quote:
Fatal error: Call to undefined function: mysql_connect() in C:\Network\Apache2\htdocs\mysqltest.php on line 9
|
the coding i used
PHP Code:
<html>
<head>
<title>MySQL Test</title>
</head>
<body>
<h2>
<?php
$connection = mysql_connect("localhost","root","password")
or die("Sorry - unable to connect to to MySQL");
echo("Congratualations - you connected to MySQL");
?>
</h2>
</body>
</html>