Jump to content


Photo

mysqli


  • Please log in to reply
3 replies to this topic

#1 GoDaddy

GoDaddy
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 14 June 2006 - 01:28 AM

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


Am i missing something?

Thanks

#2 poirot

poirot
  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 14 June 2006 - 01:30 AM

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.
~ D Kuang

#3 GoDaddy

GoDaddy
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 14 June 2006 - 02:33 AM

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?



#4 poirot

poirot
  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 14 June 2006 - 02:38 AM

[!--quoteo(post=383590:date=Jun 13 2006, 07:33 PM:name=GoDaddy)--][div class=\'quotetop\']QUOTE(GoDaddy @ Jun 13 2006, 07:33 PM) View Post[/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.
~ D Kuang




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users