Forum Moderators: coopster
WHERE MyDate LIKE '200407%'
if you need to figure out what the current year month is you can use the php functions getdate and time. For example
$today = getdate(time());
and then you would get your month and year from
$Mon = $today[mon];
$Year = $today[year];
just have to watch the $Mon as I think the php function returns 1-12 not 01-12 so you have to put a 0 before the <10 months.