Jump to content

Archived

This topic is now archived and is closed to further replies.

GoDaddy

mysqli

Recommended Posts

I get an error : Debug Error: ApacheRoot\test-projects\ProcessOrders\library.php line 15 - Class 'mysqli' not found


Am i missing something?

Thanks

Share this post


Link to post
Share on other sites
Yes, mysqli functions are part of the "MySQL Improved Extension".

[a href=\"http://www.php.net/mysqli\" target=\"_blank\"]http://www.php.net/mysqli[/a]

You probably will have to install it.

Share this post


Link to post
Share on other sites
if i install it ... then will i have a problem when i host it on a commercial webserver?

Could it be that the php engine installed on the webserver won't have the php improved extention?

Share this post


Link to post
Share on other sites
[!--quoteo(post=383590:date=Jun 13 2006, 07:33 PM:name=GoDaddy)--][div class=\'quotetop\']QUOTE(GoDaddy @ Jun 13 2006, 07:33 PM) [snapback]383590[/snapback][/div][div class=\'quotemain\'][!--quotec--]
if i install it ... then will i have a problem when i host it on a commercial webserver?

Could it be that the php engine installed on the webserver won't have the php improved extention?
[/quote]
You should always be careful when coding scripts using extensions, especially if they are "exotic".
While, for example, most of the web servers have "GD" installed, I've found that fewer have "curl".

Try to use the standard mysql functions so you'll have less problems later.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.