Re: Fatal error: Call to undefined function mysql_connect()
Hi Nick,
I am new in PHP and MySQL so I would appreciate it a lot if you could help me! My problem is that at first I had a "Fatal error: Call to undefined function mysql_connect()" I tried to solve that by following those steps :
1. Made sure "c:\php" is in the PATH string
2. Put "libmySQL.dll" in the "c:\php" directory
3. Set: extension_dir = "c:\php\ext" (which is where "php_mysql.dll" and "php_mysqli.dll" are) in the "Paths and Directories" Section of php.ini
4. Enabled those DLL's by adding:
extension=php_mysql.dll
extension=php_mysqli.dll
to the Dynamic Extensions section of php.ini
After that I tried to run a simple program but instead of the fatal error i received the following notice " Notice: Object of class mysqli_result could not be converted to int in C:\PHP\phpFiles\mysql_up.php on line 15"
I would be very gratefull if you could help me with that!!!
Thanks!
Subject
Written By
Posted
November 21, 2004 12:19PM
November 22, 2004 10:16AM
November 22, 2004 10:47AM
September 08, 2005 07:47PM
September 08, 2005 12:34AM
December 03, 2004 02:41PM
November 16, 2004 10:49PM
November 29, 2004 12:48AM
December 20, 2007 07:01PM
February 05, 2008 11:06AM
September 08, 2005 07:41PM
Re: Fatal error: Call to undefined function mysql_connect()
June 24, 2006 07:36AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.