Added: May/27/2006 at 8:08am | IP Logged
|
|
|
simple, just use the ORDER BY
the code shoudl be like this
set rs=Conn.execute ("Select * From comments ORDER BY date ASC")
if it still gets the same output then change it into this
set rs=Conn.execute ("Select * From comments ORDER BY date DESC")
this way it is sorting the comments by date Accesnding (ASC) or Desccending (DESC) but if you want to be sorted by other field then simply take out the field date and insert other like time...
Hope this helps
Best Regards
__________________ Firas S Assaad (TheGeek)
firas489@gmail.com
0096892166434
http://firas-thegeek.blogspot.com
|