Re: help needed
| From: | Stut | Date: | Fri, 25 Jan 2008 15:20:46 +0000 |
| Subject: | Re: help needed | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28758@lists.php.net to get a copy of this message | ||
Peter D wrote:
$result = mysql_query ( "SELECT * FROM 'high_score' ORDER BY score DESC LIMIT 10");Single quotes are invalid around entity names, you should be using backticks to surround high_score. You really should be checking the return value from mysql_query. It tells you if an error occurred, and you can then use mysql_error to get more details. -Stut -- http://stut.net/