hi
I am newbee to this category, my problem is;
I have mysql_query that work fine so far, now I want to add "desc" into mysql_query but it dont take affect, the result just as it was without "desc".
i know "desc" can make it in decsending order say 1 to 9, then with "desc" it become 9 to 1
my query is this
$sql = mysql_query("SELECT * FROM comments WHERE tutorialid='$tutid' ORDER BY tutorialid DESC LIMIT $from, $max_results")or die(mysql_error();
thanks for advice, your suggestion is very much appreciated
![]()





support clasicVB6
Reply With Quote