Follow us on Twitter!
It is the path of least resistance that makes rivers and men crooked. - Bj Palmer
Saturday, July 04, 2015
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: 20
Guests Online: 18
TeamSpeak Online : 5 Members Online: 2

Registered Members: 89024
Newest Member: guest12395
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