I have a field called startdate in the mysql database and format.
Now I want to make a script that lists the courses that will start this current month and the next month.
But somehow I can't manage.
Can someone help me out please? Any help will be greatly appreciated.
I'm able to get the current month by using the following:
$today = getdate();
$month = $today['mon'];
althoug the result is an array and not a number like 1 for january as I expected
and I'm able to split up the date from mysql:
list($year, $month, $day) = explode("-", $row["startdate"]);
echo $day;
print ("/");
echo $month;
print ("/");
echo $year;
but somehow I can't combine these two things
Greetz
Stefan