first off, hello. im completely new here and am hoping that i can get help asap. i got help from other places before, but one of them seems to have disappeared, and the other it sometimes takes 2 days or more, if i get a response at all. so ill explain the problem, quoting off a post of mine somewhere else. [quote]im still a noob to php but i have gotten into mysql and made my own user/posting system. well, it was working right.... it was organizing the posts by date desc, time desc, so that the newest post would be on top and descending. what happened was the first day it worked fine, and now its off. it looks like its organizing them all by date desc, but the second day is time accending. [url=http://distortedminds.net/]take a look[/url] that is my website, im just testing stuff out and it does still need quite a bit of work on it. i actually modified the default wordpress theme a little, but all the other stuff coded into it i made. u can make a user, u wont be able to do anything yet :P [code]$result = mysql_query("SELECT * FROM messages ORDER BY date desc, time desc") or die(mysql_error()); while($row = mysql_fetch_array( $result )) { echo "<br> <br> <b>" . $row['username'] . ":</b>"; echo "<font color = 'red'><b><br>" . $row['title'] . "</b></font>"; echo "<br>" . $row['message']; $id = $row['id']; echo " <br><br> | <a href='comments.php?id=$id'>comments</a> | ";[/code] [/quote]