Thank you. I wasn't aware of using
<?php
error_reporting(E_ALL); // let php help debug
ini_set('display_errors',1); // make sure debug errors are displayed
My confusion now arises from my array in tbl_itinerary
(ID, ref_id, day, tite, desc)
I have a day[itin], title[itin], desc[itin], and ref[itin] with values set for each of them.
Do I just to a
for($count=0, $count<$duration+1, $itin++){
INSERT INTO tbl_itin (day, title, desc, ref_ID) VALUES (day[$count], title[$count], desc[$count], ref[$count]);
}