[PHP-DB] Order by unix timestamp

2001-07-12 Thread Andreas Iwanowski

Hello,
i have a table where unix timestamps are inserted when adding a record.

If i read out the table data, i want to order it by unixtime ( the name of
the filed where the timestamp is )

He orders it by unixtime, but beginning with the oldest record.
i thougt i could fix it by using ORDER by !unixtime .

Also does'nt work

How can i fix the problem that the records are ordered by unixtime,
beginning with the newest record ?

--


mfg, andy

-
In Memoriam - Jaques
www.amdclan.de/jaques
--



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Order by unix timestamp

2001-07-12 Thread Andreas Iwanowski

Vielen Dank
Michael Rudel [EMAIL PROTECTED] schrieb im Newsbeitrag
02bb01c10ae5$38128190$[EMAIL PROTECTED]">news:02bb01c10ae5$38128190$[EMAIL PROTECTED]...
 ORDER BY unixtime DESC

 (it default orders by asc, not desc)

 Greetinx,
   Mike

 Michael Rudel
 - Web-Development, Systemadministration -

 Besuchen Sie uns am 20. und 21. August 2001 auf der
 online-marketing-düsseldorf in Halle 1 Stand E 16
 ___

 Suchtreffer AG
 Bleicherstraße 20
 D-78467 Konstanz
 Germany
 fon: +49-(0)7531-89207-17
 fax: +49-(0)7531-89207-13
 e-mail: mailto:[EMAIL PROTECTED]
 internet: http://www.suchtreffer.de
 ___



  -Original Message-
  From: Andreas Iwanowski [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, July 12, 2001 5:09 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP-DB] Order by unix timestamp
 
 
  Hello,
  i have a table where unix timestamps are inserted when adding
  a record.
 
  If i read out the table data, i want to order it by unixtime
  ( the name of
  the filed where the timestamp is )
 
  He orders it by unixtime, but beginning with the oldest record.
  i thougt i could fix it by using ORDER by !unixtime .
 
  Also does'nt work
 
  How can i fix the problem that the records are ordered by unixtime,
  beginning with the newest record ?
 
  --
 
 
  mfg, andy
 
  -
  In Memoriam - Jaques
  www.amdclan.de/jaques
  --
 
 
 
  --
  PHP Database Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail:
  [EMAIL PROTECTED]
 




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Order by unix timestamp

2001-07-12 Thread Andreas Iwanowski

Thank you
Steve Brett [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...


  -Original Message-
  From: Andreas Iwanowski [mailto:[EMAIL PROTECTED]]
  Sent: 12 July 2001 16:09
  To: [EMAIL PROTECTED]
  Subject: [PHP-DB] Order by unix timestamp
 

 
  How can i fix the problem that the records are ordered by unixtime,
  beginning with the newest record ?

 order by unixtime desc

 Steve
 
  --
 
 
  mfg, andy
 
  -
  In Memoriam - Jaques
  www.amdclan.de/jaques
  --
 
 
 
  --
  PHP Database Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail:
  [EMAIL PROTECTED]
 



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]