you must make sure that the version of PHP that is being used was built with
mysql support and/or that the drivers are being loaded for mysql.

Jim Lucas

----- Original Message -----
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 6:24 PM
Subject: [PHP] PHP & Mysql


>
> Hello ,
>
>   I am trying to connect mysql using php script like this
>
> $link= mysql_connect('$servername','$username','$password');
>
>  but it is giving Fatal error call to undefined function mysql_connect()
>
> I have checked wheather php is installed properly by using this
>
> phpinfo();
>
> Everything is okay but it is displaying this error...
>
>
> If anyone came to know the reason for this tell me as soon as possible
>
>
> -Uma
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to