Re: Fatal error: Call to undefined function:mysqli_connect()in
| From: | Shawn McKenzie | Date: | Sat, 14 Mar 2009 23:31:58 +0000 |
| Subject: | Re: Fatal error: Call to undefined function:mysqli_connect()in | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290062@lists.php.net to get a copy of this message | ||
Shawn McKenzie wrote:
> revDAVE wrote:
>> On 3/14/2009 10:36 AM, "Gary" <gwpaul@ptd.net> wrote:
>>
>>> Can anyone enlighted me as to what I am not doing correctly?
>>
>> Hi Gary,
>>
>> I am hosted using a basic cpanel interface ... There's a button = Remote
>> MySQL which brings up a page: Remote Database Access Hosts
>>
>> And I put in my HOME IP and all works fine now ...
>>
>> Not sure how godaddy does it... Maybe ask tech support.... How to set up
>> Remote MySQL access....
>>
>> --
>> Thanks - RevDave
>> Cool @ hosting4days . com
>> [db-lists 09]
>>
>>
>>
>
> That web interface isn't using the mysqli functions, it probably
> phpMyAdmin using the mysql functions. If you would read my previous
> post you'd see that mysqli isn't supported under PHP4.
>
> I guess I need to reply all instead of replying to the newsgroup as
> people seem to not read anything I post to the newsgroup.
>
FYI from previous post...
Yes, the mysqli extension is only available for PHP5. Use the mysql_x()
functions or move to a host that supports PHP5/mysqli extension.
--
Thanks!
-Shawn
http://www.spidean.com