Follow us on Twitter!
Become the change you seek in the world. - Gandhi
Monday, April 21, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 35
Guests Online: 30
Members Online: 5

Registered Members: 82858
Newest Member: alexxkim
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