Hi all,
I need the below variables to be sent to training2.php
How can this be done?
if(count($error_message) == 0)
{
// connect to db
include('../db_connect.php');
// process date
list($day, $month, $year) = split('[/.-]', $start_date);
$start_date = $year.'-'.$month.'-'.$day;
list($day2, $month2, $year2) = split('[/.-]', $end_date);
$end_date = $year2.'-'.$month2.'-'.$day2;
header('location: training2.php');
} // end count