very simple answer
| From: | Barry Rumsey | Date: | Thu, 17 Jan 2002 19:52:35 +0000 |
| Subject: | very simple answer | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15947@lists.php.net to get a copy of this message | ||
I can't figure out where I have gone wrong. Maybe not enough sleep, anyway this is the simple
query:
$query = "SELECT * FROM xp_topics WHERE artist='artist'ORDER BY topicid DESC LIMIT
0,1"; $result = mysql_db_query($query) or die("Select Failed!");
echo("Latest Artists : $topictext <br>");
It says query failed. I know I've forgoten something but don't know what