Quote
// Formatting for SQL datetime (if this is edited, it will NOT work.)
$event_date = $y."-".$m."-".$d." ".$_POST["event_time_hh"].":".$_POST["event_time_mm"].":00";
$event_date = $y."-".$m."-".$d." ".$_POST["event_time_hh"].":".$_POST["event_time_mm"].":00";
For folks who are not copying and pasting, what can be difficult to see here is the "space" between $d." and ".$_POST. Took me a solid two hours debugging this problem, so I wanted to share my experience here in hopes to helping out someone else.
Good tutorial, thanks.






MultiQuote



|