>-----Original Message----- >From: Jae [mailto:[EMAIL PROTECTED]] >Sent: 26 September 2001 12:18 >To: [EMAIL PROTECTED] >Subject: [PHP-DB] Error on connecting to mysql database > > >I got this message when i call the php script, > >"Fatal error: Call to undefined function: mysql_connect() in >/home/jaelee/public_html/test01.php on line 6" > >what's wrong? >thx Most likely your php was not compiled with mysql support. Use <? phpinfo(); ?> to find out. If you don't see a mysql section then you need to recompile your php. regards -- Jason Wong Gremlins Associates www.gremlins.com.hk Tel: +852-2573-5033 Fax: +852-2573-5851 -- PHP Database 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]