PHP date question
Posted: Sun Jun 17, 2007 11:06 am
I'm converting the date (e.g.) 2007-01-01 to '1167606000' using strtotime().
The new date is stored in a column in an mySQL database.
The problem is that I want all entries for a current month.
How do I filter these results out from my database?
For example "I want to see all the entries entered in June 2007.
I tried to get the results with a query where all results should be between 06-01 and 06-30 but no luck
The new date is stored in a column in an mySQL database.
The problem is that I want all entries for a current month.
How do I filter these results out from my database?
For example "I want to see all the entries entered in June 2007.
I tried to get the results with a query where all results should be between 06-01 and 06-30 but no luck