I have a simple web log that I have built and I am trying to order news postings in a date and time order using order by date,time desc. I am not getting an accurate order of the news posting (Can't really tell what pattern it is following). I am getting the date and time using PHP, then storing the info in 2 seperate fields in a mySQL table (date, time). I am wondering if a better way to do this in a way that gets the correct date and time order is by setting the date and time stamp using mySQL functions, rather than PHP. Does it matter? Am I just going about this the wrong way?
Many thanks for any help!