Hello,

I have a problem when I write a PHP script used to connect to MySQL table.
The PHP script likes:
<?
  $link_id=mysql_connect("localhost", "root");
?>

When I try to run this script on apache server, there is an error :
Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/index.php on line 2

Can anyone tell me what is the problem ?

I am using
Apache 1.3.22
PHP 4.1.2
MySQL 3.23.49

Thank you



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to