4
You mean i should add it one field? i tried that but it is not working i dont know maybe i am doing something wrong
$obj->setVar("bookings_date", strtotime($_REQUEST["bookings_date[date]"]));
$obj->setVar("bookings_time", $_REQUEST["bookings_date[time]"]);
I am trying this way as in above htmml the date time namings and inputs are as follows
I know it should be separated using a foreach or somehting but i am not understanding how can use foreach for date and time coz it is going as array inside the post array