laserlight;10894916 wrote:Ah, that implies that the $dateEd variable is empty.
That is odd, because I have an EXACT copy of this method that works perfectly. The only different is the SQL query itself. In that one it is:
$query = "SELECT * FROM `ccStaffTracker` WHERE `added` BETWEEN " . $dateBg . " and " . $dateEd;
So I would assume that the $dateEd variable is actually being populated.
Ok, however - you are correct. It was a typo on my methods parameter variable! ugh. I should have copied the entire thing (which i thought I had!).
Once again.. thanks!