943,770 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 551
  • PHP RSS
Feb 25th, 2008
0

search date

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
BillyMako is offline Offline
16 posts
since Jan 2008
Feb 25th, 2008
0

Re: search date

php Syntax (Toggle Plain Text)
  1. $query="select * from table where date_column between date1 and date2";
Moderator
Featured Poster
Reputation Points: 524
Solved Threads: 356
Purple hazed!
nav33n is offline Offline
3,878 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: problem of rhyme game
Next Thread in PHP Forum Timeline: problem in deleting





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC