RE: [PHP] Call to undefined function mysql_connect()
| From: | Peter Houchin | Date: | Mon, 26 Aug 2002 03:57:57 +0000 |
| Subject: | RE: [PHP] Call to undefined function mysql_connect() | ||
| References: | 1 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-114100@lists.php.net to get a copy of this message | ||
do a php_info() on a page and check the mysql propeties in there.. might
give you a clue..
> -----Original Message-----
> From: hugh danaher [mailto:hdanaher@earthlink.net]
> Sent: Monday, 26 August 2002 1:18 PM
> To: php
> Subject: [PHP] Call to undefined function mysql_connect()
>
>
> Help!
>
> I am getting the following error message for :
> <?
> $link=mysql_connect("localhost","$user","$pass"); // line 34
> ?>
>
> Fatal error: Call to undefined function: mysql_connect() in
> /home/www/test.somename.org/aux/db-mod.php on line 34
>
> I have used this call successfully on php v4.0.6, and am now
> trying it on a new install (which someone else did, as I haven't
> a clue in setting up a server) which is v4.1.1. Is mysql_connect
> a defunct command, or do I need to do something to enable its use?
>
> Thanks for any help.
> Hugh
>
>
>
>
>
>
>