22.04.2016, 02:10
Could you supply us with more code? What's the query you're trying to execute?
You can find out what error was thrown by mysql_query() by using the mysql_error() function. It will tell you what the problem is with the query. (you could easily have mis-spelled a field name, or got a field in the wrong table prefix, etc; you'd need to see the error response to know for sure what the problem is)
Use
What does this show?
You can find out what error was thrown by mysql_query() by using the mysql_error() function. It will tell you what the problem is with the query. (you could easily have mis-spelled a field name, or got a field in the wrong table prefix, etc; you'd need to see the error response to know for sure what the problem is)
Use
Код:
$result = mysql_query($result) or die(mysql_error());