View Full Version : error abt my sql_connect

11-27-2006, 11:41 AM
the error show by the webserver is

Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\subzero1\include\db_mysql.inc on line 68

for the code

pls tell me wht to do

11-27-2006, 12:02 PM
It means that you did not load the mysql extension. You have to enable it in the php.ini. Without the extension you won't be able to connect to a MySQL database using mysql_* functions.

11-27-2006, 12:11 PM
now its saying
PHP Startup: Unable to load dynamic library './php_mysql.dll' - The specified procedure could not be found. in Unknown on line 0

pls tell me in detail wht 2 do

11-27-2006, 12:35 PM
Most probably, you need to move the file "libmysql.dll" to a folder accessible from you systems PATH. C:\WINDOWS\system32\ is one such location. The dll is included with the PHP binary distribution (without the installer).