boxcarracer8792
New Member
I want to put ORDER BY on the code below, but I tried putting it in ever possible spot, and it gives me errors. Could somebody translate it to the proper code, I want it to be ordered like this<br />
<br />
ORDER BY id, sticky DESC<br />
<br />
This is my code<br />
<br />
$result = mysql_query('SELECT id,name,creator FROM website_forums_threads WHERE section='.$HTTP_GET_VARS['id']);<br />
<br />
<br />
Thanks, I will give you best answer if I can figure out how lol |<br />
<br />
ORDER BY id, sticky DESC<br />
<br />
This is my code<br />
<br />
$result = mysql_query('SELECT id,name,creator FROM website_forums_threads WHERE section='.$HTTP_GET_VARS['id']);<br />
<br />
<br />
Thanks, I will give you best answer if I can figure out how lol |<br />