Re: PHP/MySQL Problem....

From: Date: Thu, 19 Dec 2002 17:35:13 +0000
Subject: Re: PHP/MySQL Problem....
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-24293@lists.php.net to get a copy of this message
On Friday 20 December 2002 00:56, Grant P. Kohler wrote: > Hello, > > I seem to have a problem getting my PHP to work with MySQL. > I have installed Redhat 7.3 on my system and I installed apache, php, > and mysql from the redhat install cd via the RPMS. Now I know the PHP > works just fine normally, but when I start trying to use the MySQL > commands in my PHP pages to connect to the database I start getting > fatal errors like the following. > > Fatal error: Call to undefined function: mysql_connect() in > /home/gkohler79/public_html/book1/chapter11/db_connect.php on line 3 If this is an all Redhat RPM installation then install the mysql-php*.rpm as well. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* If you suspect a man, don't employ him. */

« previous php.db (#24293) next »