suppose i select flight date 25/06/2017 then select program alexia 5 days
How i select cost per every duration details
and put them in cost
my full database script as following