Jump to content

Select from MySQL based on a month


jcstanley

Recommended Posts

*** THIS IS NOT THE FULL POST  -  PLEASE SEE MY NEXT POST.  I SUBMITTED TOO EARLY AND CANNOT SEE A WAY TO DELETE THIS ONE***

 

Hi

 

What i am trying to do is select all events from a table where month is equal to the current month.

 

For example:

 

Name        Date

Event 1         2007-03-01

Event 2         2007-03-28

Event 3         2007-04-14

 

The current month is March (03) so only Event 1 and Event 2 should be selected.

Link to comment
https://forums.phpfreaks.com/topic/44932-select-from-mysql-based-on-a-month/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.