Build your own database driven website chpt 4

I am very new to this - doing a volunteer website for charity border collie rescue group - so I appreciate patience with my ignorance on this!

I get this error:
Warning: mysqli_connect() [function.mysqli-connect]: Headers and client library minor version mismatch. Headers:50051 Library:50146 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\index.php on line 3

Here is line 3 of my code:
$link = mysqli_connect(‘localhost’, ‘root’, ‘mypwhere’);

After the error msg above- I got the ‘successful connection to database’ msg

THANKS! that gives me somewhere to start. I wondered if it was a difference in versions - I think the book has an errata page and mentions that … I’ll try reloading Apache.

Did you search the web for that specific message or similar message? it isn’t likely you are the first one to run into it. Sounds like one part of your application is up-to-date and another isn’t.

But the database itself isn’t the issue. To be more concise with getting help you should let folks know what platform/computer type you are running this on and whether or not you installed the software on the computer and if you know, which version of php, apache and mysql (each application) you are running.

Ok - someone emailed me and told me to post the question at this link … so I guess I’ll find a different forum??? Thanks … I am new to this and trying to find my way around!

That isn’t a mysql error. It has to do with your apache server or php code.