Re: problem using mysql_connect function under windows XP
| From: | Jochem Maas | Date: | Wed, 05 Apr 2006 17:15:57 +0000 |
| Subject: | Re: problem using mysql_connect function under windows XP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233282@lists.php.net to get a copy of this message | ||
Alain Roger wrote:
Hi, i wrote a simple testing page. it should test if it can connect to MySQL db. however, i have an error message as followed : *Fatal error*: Call to undefined function mysql_connect() in *F:\Mes documents\Development\Website\Immense\checklogin.php* on line *23 *on line 23, i have the following thing : mysql_connect("$host", "$username", "$password") or die("cannot connect"); where is the problem ?line 23. you don't have the mysql extension installed/loaded. maybe your php build has the mysqli extension?
thansk a lot, Alain