Building a Simple Search Engine with PHP
Subject:   mysql_fetch_array() error
Date:   2005-01-21 14:43:31
From:   Lykerus

I am having a strange problem when trying to populate the db. I am new to db's so be patient with me. I noticed that Sean had this same problem earlier, but I couldn't find the solution he found.

The error I get is:

mysql_fetch_array(): supplied argument is not a valid MySQL result resource

I tried a roundabout way of using this ($row = mysql_fetch_array($result);) tag, but it doesn't work. When I try and search, it seems as though the database hasn't been populated.

Can anyone help? Please and thank you!

1 to 1 of 1
1 to 1 of 1