Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dates and timestamps

Status
Not open for further replies.

MrBelfry

IS-IT--Management
May 21, 2003
289
Hi i'm developing a very simple guestbook application using php and mysql. I need someway of recording the date that somebody adds a message and them I need to be able to order returned records by this date.

I've tried using a timestamp field but mysql throws a wobbler when I try to order my records using this field. What is the best way for recording times and dates so that I can order records using that field?

Thanks for any hints and tips

MrBelfry
 
Ooops

Next time I'll triple check my sql statement before I'll post a question here.

Sorry for wasting your time

MrBelfry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top