Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysqli class not found & PHP 5 newbie needs advice

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Hallo.
My immediate problem is that when I try to declare a mysqli object as follows:
$connection=new mysqli('localhost','qcf_admin','qcf_admin');

I get an error that reads:
Debug Error: C:\Program Files\Apache Group\Apache2\htdocs\testzend\testzend.php line 8 - Class 'mysqli' not found

I'm guessing that I need to include some file or other, but can't find any information that might help me guess where it is.
Can anyone help with this?
Also, as this suggests, I could really use some advice on any good books/documentation that's around & that will help me. I'm an experienced C++ developer, so I shouldn't struggle *too* much w/ technical stuff...
Thanks in advance for any help.
doug.

If I had a hammer...
 
Cheers, man -- I've discovered (last night) that my problem isn't really PHP 5 at the moment, but Zend studio.
For some reason, it's unable to debug my code at the moment, although the browser reads it fine.
So I guess I need to look into the setup of Zend.
Any pointers, anyone...?
Thanks again,
doug.

If I had a hammer...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top