howdy gang,
i'm a total noob coming to the forum a little exasperated. i've taken on a half baked project and am 99.9% done! the final step is correcting a multiple submit button error. i believe it's a php problem, but am posting this in the javascript forum as well to make sure.
background:
this is a hotel booking system pulling from the ihs xml database. if you would like to see the site in action go to:
(i've included a sample hotel, but feel free to search others if you prefer)
if you run a booking (choose dates, click 'get rates' and then 'book it' on the following page you will see where the error is occurring. it seems that the 'book it' submit button always passes the last rate listed on the page.
you may also notice that there is a js alert when 'book it' is clicked. this is the only proof i have for myself that the correct info is being posted, but as you can see, it isn't.
i've been so buried in this and i think i've just lost the ability to think about it clearly. any help would be much appreciated. rather than dumping tons of code on here, have a look at the live stuff and please tell me what you would like to see. i'll post it.
Thanks in advance!
sam
i'm a total noob coming to the forum a little exasperated. i've taken on a half baked project and am 99.9% done! the final step is correcting a multiple submit button error. i believe it's a php problem, but am posting this in the javascript forum as well to make sure.
background:
this is a hotel booking system pulling from the ihs xml database. if you would like to see the site in action go to:
(i've included a sample hotel, but feel free to search others if you prefer)
if you run a booking (choose dates, click 'get rates' and then 'book it' on the following page you will see where the error is occurring. it seems that the 'book it' submit button always passes the last rate listed on the page.
you may also notice that there is a js alert when 'book it' is clicked. this is the only proof i have for myself that the correct info is being posted, but as you can see, it isn't.
i've been so buried in this and i think i've just lost the ability to think about it clearly. any help would be much appreciated. rather than dumping tons of code on here, have a look at the live stuff and please tell me what you would like to see. i'll post it.
Thanks in advance!
sam