In article <Pine.LNX.4.21.0201291202160.2265-
[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> 
> Hello,
> 
> 
>   I have installed php3 in my system.I want to connect with mysql.I have
> given this code
> 
> $link=mysql_connect("localhost","username","password") or die("could not
> connect");
> 
> 
> but it is giving Fatal error: Call to undefined function: mysql_connect()
> 
> 
> Why it is showing like.........
> 
> Mysql is also running........
> 
> 
>  Any one came to know this tell me as soon as possible....

The error message says that the installation of PHP you are using does 
not have MySQL support enabled/compiled in. If you are on a *nix system, 
you may need to recompile with mysql support; if on Windows you need to 
ensure that the mysql module (dll) is being used.

-- 
David Robley
Temporary Kiwi!

-- 
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