I'm getting an undefined offset for the line:
list ($year, $month, $day) = explode ("-", $data['dateReceived']);
Where $data['dateReceived'] = 'yyyy-mm-dd'. I've tried the split function and received the same result.
Any ideas?
-a9
debug ...
echo $data['dateReceived']; $temp = explode ("-", $data['dateReceived']); print_r($temp);
$year = $temp[0]; $month = $temp[1]; $day = $temp[2];
reg kevin
I forgot about a 'NULL' entry in my database. That was causing the error; obviously you can't split 'NULL' by '-'. It's so easy to overlook the most obvious. Thanks.