RE: [PHP-INSTALL] Inserting data into mySQL...?
| From: | Chris Hewitt | Date: | Tue, 04 Jan 2005 09:48:16 +0000 |
| Subject: | RE: [PHP-INSTALL] Inserting data into mySQL...? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14972@lists.php.net to get a copy of this message | ||
On Mon, 2005-01-03 at 15:04, Oscar J. Ramos wrote:
> Thanks you so much Chris,
>
> This is my first time reaching out for help. Usually I go out there and
> look for answers myself but I seem to have no time to do so these
> days...
>
> I followed your instructions below and finally I received some kind of
> an error message thanks to you.
>
> ERROR_MESSAGE:
>
> Fatal error: Call to undefined function mysql_connect() in
> d:\www.bydesignllc.com\mysqltest.php on line 28
> PHP Fatal error: Call to undefined function mysql_connect() in
> d:\www.bydesignllc.com\mysqltest.php on line 28
>
> If you have any light to this error message please help. It will be
> greatly appreciated...
Oscar,
It means that PHP does not have MySQL support enabled. A good test to
see what PHP has is to make a file (called e.g. phpinfo.php) and put in
it:
<?php phpinfo(); ?>
then put it into your webserver document root and look at it with your
browser (e.g. http://localhost/phpinfo.php).
As I have not used the MySQL 4.x versions and do not use PHP under MS
Windows I am not going to be the best person to help here. The problem
has come up before so I suggest you search the archives at
http://marc.theaimsgroup.com/?l=php-install&r=1&w=2
and you should find
the answer.
Regards
Chris