0

Any idea on booking Page setup using php n javascript?

I have a 3 Page setup. On page 1, user enters date of appointment. After checking with db for availability, Page 1 sends to page 2 via Post, here user can enter more details like name, phone, email, booking time etc. This will send to page 3 via Post. Now on page 3 there's a payment button. I want when user presses payment, the collected data of page 1 n 2 should go into db at this point. Once payment is completed, the db should be updated again with payment transaction Id. I could set the pages but data is not getting into db. Appreciate for any ideas how to implement it in effective way? Thanks.

19th Oct 2021, 6:30 AM
Mash
Mash - avatar
2 ответов
0
May be you have not connected database properly check your connections
19th Oct 2021, 6:45 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
I did. When data dumps in db, payment part is not working and when payment works data not dumping. Am not sure what's wrong.
19th Oct 2021, 6:52 AM
Mash
Mash - avatar