Question Locked

How do I? Install, configure and integrate PHP and MySQL on Windows?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Followed the instructions in the article
( http://articles.techrepublic.com.com/5100-10877-6122135.html#comments )

Everything except the test works...

This the error I receive:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Inetpub\wwwroot\dbtest.php on line 10

Any help on this would be appreciated greatly!

Versions used:
MySQL 4.1.7
PHP 5.2.4
IIS 6

Cheers,

4 replies

by thumbsup2

Sounds like you have it installed, configured AND integrated on Windows. If you didn't, you would NOT have received an SQL error.

It is saying that you have an error in your code at line 10. Perhaps you need to learn how to use the tools you have just installed. Here are the manuals.

www.mysql.com

www.php.net

by grenville_lock

Thanks...

FYI, the code is a copy and paste from the article to test the install...

I'll look in the manuals.

by thumbsup2

Often, articles display code to use for testing, but the code is broken up into multiple lines to get it to display properly on the screen. It needs to be put back together correctly. Spaces, quotes, semicolons, brackets... must all be copied and if you missed just one... you've got an error.

Of course, there's always the infamous TYPO monster that creeps into every article... So, don't always take an example to be the gospel.... research the problem in the manuals.

This discussion is closed to new replies.