Initially I was getting a SQL error do to an incorrect date format and was able to finally get it down to a problem with the Month having a space after the number,
i.e. 2009-8 -20
But I can't figure out why the space is showing up.
I am calling the $_GET after calling events.php from a link in index.php
INDEX.php
<a href=\"javascript:eventWindow('events.php?m=".$month."
&d=".$dayArray["mday"]."&y=$year');\">".$dayArray["mday"]."</a>
<br/><br/>".$event_title."</td>\n";
EVENTS.php
$m = $GET["m"];
$d = $GET["d"];
$y = $_GET["y"];
if I over ride the section with - the SQL runs no problem;
$m = 8;
//$m = $GET["m"];
$d = $GET["d"];
$y = $_GET["y"];
Any ideas why this is happening?
Thanks,