I have a small test file:
<?
$mysql_link = mysql_connect("localhost", "root", "")
or die
("<p>Could not connect to the database!");
?>
I am trying to get mysql working. I keep getting this message:
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/connect.php on line 2
what am i doing wrong. from the command terminal i typed /usr/bin/mysqlshow and it show a little sample database. but i can't connect to it with php.
please any help would be great. I think I installed it right