PHP and MYSQL

Don Erickson derick at shark.zeni.net
Wed Jan 22 22:40:17 CST 2003


In article <000701c2c22d$bfe41d30$0201a8c0 at muldersworld> you write:
>It blows up at this line:
>$connection = mysql_connect("$server","$username","$password");
> 
>Giving me this:
>Fatal error: Call to undefined function: mysql_connect() in
>/web/test.php on line 15

You need the mysql modules accessible by php.  In debian, these are in
php4-mysql.  I'm sure there's something similar for the distribution you
are using.

Regards,

-Don




More information about the Kclug mailing list