Hi All,
Can you please help me with the following:
I've got a form with a field called datebirth[];
After submitting the form; it must put the datebirth field (or fields) into the mysql
format yyyy-mm-dd and after that put it in a session:
$date_array = split("-", $_POST['datebirth']);
$mysqldate = $date_array[2]."-".$date_array[1]."-".$date_array[0];
$_SESSION['datebirth'] = array();
$_SESSION['datebirth'] = $mysqldate;
This is my code till now but i'm stuck (when proccesing it i'm only getting Array...
as output).. Can someone help me?
Regards,
Frank