Follow us on Twitter!
Capitalism is an Island of wealth in a sea of poverty
Saturday, December 10, 2016
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 42
Guests Online: 37
Members Online: 5

Registered Members: 96891
Newest Member: ck1ck2ck3_11
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

PHP & SQL Question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
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


Author

RE: PHP & SQL Question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 25-04-06 17:17
use NOW() as the value
Author

RE: PHP & SQL Question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 25-04-06 17:20
Can you elaborate?


Author

RE: PHP & SQL Question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 25-04-06 20:25
Thanx. Thats great.

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




Edited by on 25-04-06 20:38