Hi all,
I am trying to display items that have a date that falls in a month that is one year past the current date.. ie if it was added last june, and this month is june, I want to show last June's items. The date is stored as 2004-06-20.
The Where statement looks like:
$tmpquery = "WHERE mem.profil IN(2,11,12,13) AND (mem.cstart = (CURDATE() - INTERVAL 12 MONTH)) ORDER BY $block1->sortingValue";
but it doesn't seem to call anything no matter what month # I set. Any ideas? mem.cstart is the 2004-06-20 date or whatever other date.