
November 24th, 2003, 09:59 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
Order By help!
I have a kindof stupid question that would seem very obvious to anybody but me Xx Anyway here we go.. Here is my piece of code:
php Code:
Original
- php Code |
|
|
|
<?php $query = mysql_query("SELECT horsename from horsedata ORDER BY points DESC"); ?>
But I get this error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/arabq/public_html/tophorses.php on line 14
Any ideas?
|