Skip navigation links

MySQL Forums :: PHP :: Fatal error: Call to undefined function mysql_connect()


Advanced Search

Fatal error: Call to undefined function mysql_connect()
Posted by: christos koursaros ()
Date: June 24, 2006 06:38AM

Hi All,

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!

Options: ReplyQuote


Subject Written By Posted
Fatal error: Call to undefined function mysql_connect() christos koursaros 06/24/2006 06:38AM
Re: Fatal error: Call to undefined function mysql_connect() Lisa 06/24/2006 06:47AM
Re: Fatal error: Call to undefined function mysql_connect() Christos Koursaros 06/24/2006 06:52AM
Re: Fatal error: Call to undefined function mysql_connect() Peter Brawley 06/24/2006 11:23AM
Re: Fatal error: Call to undefined function mysql_connect() Christos Koursaros 06/24/2006 06:03PM
Re: Fatal error: Call to undefined function mysql_connect() Peter Brawley 06/24/2006 09:42PM
Re: Fatal error: Call to undefined function mysql_connect() Christos Koursaros 06/25/2006 07:02AM
Re: Fatal error: Call to undefined function mysql_connect() bhaskar parida 03/14/2008 12:40AM
Re: Fatal error: Call to undefined function mysql_connect() Ram Verma 12/04/2006 04:15AM
Re: Fatal error: Call to undefined function mysql_connect() Allan Roger 10/09/2007 05:18AM
Re: Fatal error: Call to undefined function mysql_connect() Muthu K 04/02/2008 12:55AM
Re: Fatal error: Call to undefined function mysql_connect() patel pal 09/27/2006 05:14AM
Re: Fatal error: Call to undefined function mysql_connect() EmAd gaWai 04/08/2007 11:24AM
Re: Fatal error: Call to undefined function mysql_connect() Hari Nair 05/12/2007 10:37AM
Re: Fatal error: Call to undefined function mysql_connect() Supratim Bhattacharyya 04/25/2007 09:56AM
Re: Fatal error: Call to undefined function mysql_connect() moo ring 10/08/2007 11:36PM
Re: Fatal error: Call to undefined function mysql_connect() Abhishek Gupta 10/17/2007 03:25AM
Re: Fatal error: Call to undefined function mysql_connect() GOMATHI KUMARAKRISHNAN 10/18/2007 10:19PM
Re: Fatal error: Call to undefined function mysql_connect() Lisa 06/24/2006 06:48PM
Re: Fatal error: Call to undefined function mysql_connect() Liang Zhao 06/24/2006 07:26PM
Re: Fatal error: Call to undefined function mysql_connect() Christos Koursaros 06/25/2006 07:26AM
Re: Fatal error: Call to undefined function mysql_connect() Christos Koursaros 06/25/2006 07:23AM
Re: Fatal error: Call to undefined function mysql_connect() Peter Brawley 06/25/2006 09:02AM
Re: Fatal error: Call to undefined function mysql_connect() Christos Koursaros 06/25/2006 09:27AM
Re: Fatal error: Call to undefined function mysql_connect() Christos Koursaros 06/25/2006 09:40AM
Re: Fatal error: Call to undefined function mysql_connect() Peter Brawley 06/25/2006 03:06PM
Re: Fatal error: Call to undefined function mysql_connect() Christos Koursaros 06/25/2006 04:41PM
Re: Fatal error: Call to undefined function mysql_connect() Peter Brawley 06/25/2006 05:16PM
Re: Fatal error: Call to undefined function mysql_connect() Christos Koursaros 06/25/2006 06:09PM
Re: Fatal error: Call to undefined function mysql_connect() Peter Brawley 06/25/2006 08:07PM
Re: Fatal error: Call to undefined function mysql_connect() Sharad Sharma 09/03/2006 11:46PM
Re: Fatal error: Call to undefined function mysql_connect() Javed Iqbal 11/18/2007 10:49PM
Re: Fatal error: Call to undefined function mysql_connect() Ram Verma 12/04/2006 04:18AM
Re: Fatal error: Call to undefined function mysql_connect() viren mathur 03/08/2007 08:08AM
Re: Fatal error: Call to undefined function mysql_connect() EmAd gaWai 04/08/2007 11:21AM
Re: Fatal error: Call to undefined function mysql_connect()---SOLUTION IN ABOVE TOPIC Anna Sobiepanek 04/10/2007 09:39AM
Re: Fatal error: Call to undefined function mysql_connect() One Zero 06/02/2007 09:28PM
Re: Fatal error: Call to undefined function mysql_connect() vijay kumar 06/07/2007 12:28AM
Re: Fatal error: Call to undefined function mysql_connect() jai kumar 05/09/2007 11:57PM
Re: Fatal error: Call to undefined function mysql_connect() Peter Brawley 05/10/2007 12:42PM
Re: Fatal error: Call to undefined function mysql_connect() John Lortscher 06/09/2007 09:12PM
Re: Fatal error: Call to undefined function mysql_connect() Michael Smith 07/09/2007 12:59PM
Re: Fatal error: Call to undefined function mysql_connect() Manuel Fuentes 07/15/2007 02:06PM
Re: Fatal error: Call to undefined function mysql_connect() Riya Dennis 08/27/2008 10:30AM
Re: Fatal error: Call to undefined function mysql_connect() Imran Nazir 06/28/2007 12:01AM
Re: Fatal error: Call to undefined function mysql_connect() ERUM MIRZA 07/18/2007 11:55PM
Re: Fatal error: Call to undefined function mysql_connect() Fadi Gemayel 07/25/2007 12:21AM
Re: Fatal error: Call to undefined function mysql_connect() chard tee 07/25/2007 08:58PM
Re: Fatal error: Call to undefined function mysql_connect() Marcos Junior 07/28/2007 08:30PM
Re: Fatal error: Call to undefined function mysql_connect() Mel Peterson 08/10/2007 08:40AM
Re: Fatal error: Call to undefined function mysql_connect() KK Z 09/03/2007 02:00AM
Re: Fatal error: Call to undefined function mysql_connect() Denise McGrath 09/22/2007 11:28AM
Re: Fatal error: Call to undefined function mysql_connect() Garnet Merrill 09/28/2007 08:32AM
Re: Fatal error: Call to undefined function mysql_connect() moo ring 10/08/2007 11:38PM
Re: Fatal error: Call to undefined function mysql_connect() Evandro Fonseca 12/08/2007 04:27PM
Re: Fatal error: Call to undefined function mysql_connect() kkajkjk jdkjalkj 12/12/2007 02:56PM
Re: Fatal error: Call to undefined function mysql_connect() Allyn Flinchbaugh 12/20/2007 08:00PM
Re: Fatal error: Call to undefined function mysql_connect() Rein Petersen 03/27/2008 06:31PM
Re: Fatal error: Call to undefined function mysql_connect() Bee Jee 05/23/2008 07:20PM
Re: Fatal error: Call to undefined function mysql_connect() narsing gopagoni 06/01/2008 11:16PM
Re: Fatal error: Call to undefined function mysql_connect() Sergio Torres 08/22/2008 08:05PM
Re: Fatal error: Call to undefined function mysql_connect() Shaun Fensom 11/09/2008 10:55AM
Re: Fatal error: Call to undefined function mysql_connect() Stefan Pauliuk 11/13/2008 03:10AM
Re: Fatal error: Call to undefined function mysql_connect() Troy Lohnes 11/16/2008 10:21PM
Re: Fatal error: Call to undefined function mysql_connect() Antonio Bandeira 02/06/2009 02:18PM
Re: Fatal error: Call to undefined function mysql_connect() rick lyle 02/12/2009 04:25PM


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.