hi,
I am facing a small but never the less itching problem.
I try to order a table with this basic select statement:
// basic SELECT-Statement
$select = "SELECT DISTINCT ID, newsdate, newstime, newshead, newstext";
$from = " FROM news";
$where = " WHERE ID > 0";
$how = " ORDER BY newsdate DESC LIMIT 0, 30";
I would like to see the newest message always on top of the list.
everything works fine as long there is only one message a day, otherwise the oldest message of the day will be on top, till the date changes.
any ideas ?
thanks a lot
stephan