954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

search date

I have dates stored for logs which has three fields February 8 2008 for example.
How can i do a MYSQL querry which selects the logs between march 1 2005 to december 1 2007 for example.
Thanks

BillyMako
Newbie Poster
16 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 
$query="select * from table where date_column between date1 and date2";
nav33n
Purple hazed!
Moderator
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You