Join us at IRC!
I'd prefer to die standing, than to live on my knees - Che Guevara
Friday, May 25, 2012
Navigation
Members Online
Total Online: 26
Web Spiders: 12
Guests Online: 25
Members Online: 1

Registered Members: 70208
Newest Member: andresuran
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

PHP & SQL Question

mozzer
Member



Posts: 339
Location: Password Land
Joined: 21.01.06
Rank:
God
Posted on 25-04-06 16:44
I was wondering how to format a date so that I can order a table in SQL by date, but not so that you can simply have the date as a fixed amount but one that varies as new inputs are made.

Thanks

mozzer


I will be back
Author

RE: PHP & SQL Question

willeH
Banned

Posts: 210
Location:
Joined: 14.10.05
Rank:
HBH Guru
Posted on 25-04-06 17:17
use NOW() as the value
Author

RE: PHP & SQL Question

mozzer
Member



Posts: 339
Location: Password Land
Joined: 21.01.06
Rank:
God
Posted on 25-04-06 17:20
Can you elaborate?


I will be back
Author

RE: PHP & SQL Question

mozzer
Member



Posts: 339
Location: Password Land
Joined: 21.01.06
Rank:
God
Posted on 25-04-06 20:25
Thanx. Thats great.

*EDIT*
What type to I create it as in the table


I will be back

Edited by mozzer on 25-04-06 20:38
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.