What's wrong with this WARNING:?

I have these codes below,


$getURL = mysql_fetch_assoc(mysql_query("SELECT `urlname` FROM `workingurls` ORDER BY RAND() LIMIT 1"));

And it has error,


PHP Warning:  mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/coder9/public_html/spider/email.scraper.php on line 98

It is working before and suddenly it stopped.
I don’t know why.

The line 98 is the above codes.

Thanks in advanced.

What is wrong is that you are working on something unethical, scraping people’s email addresses from pages is a bad idea.

tut tut.

He’s not a web developer, he’s a very naughty boy

That is a sign that the query failed. The structure of the table must have changed. Either that or your not connected to the db.

That is a sign that the query failed. The structure of the table must have changed. Either that or your not connected to the db.

People who post their email addresses on the web deserve spam.

please tell me you’re just kidding

Not really. Email address should never be placed in HTML but hidden behind a form.