Hello,
i need help with a script after installing comes this error:
"Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in …"
in the script " “while ($City = mysql_fetch_assoc($GetCities)) {“
What is wrong?
Help for any help.
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result.....
So which is it? mysql_fetch_object() or mysql_fetch_assoc()? Based on what you've given us all we can say is that $GetCities is clearly not a MySQL resource. Assuming you've done everything necessary, it would mean that the query itself failed for some reason.
You're going to have to give us some more information; preferably as the result of some debugging of your own (see this thread for some suggestions).
A message comes "Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in …" but in the script stand "while ($City = mysql_fetch_assoc($GetCities)) {“
What did you need the script?