I have created a booking form on front-end, and there is also "confirm my booking" page.
once you submit your booking form. and it stored on "booking" custom post and saved post meta (such as phone number, time.. etc)
But I can't figure out how to get the result when people do "confirm my booking".
When users put their's "name, phone number" on confirm page, I have to show other information.
I can't get the query or wordpress functions...
this might be the same sql query.
"select name, phone, time, day, howmany from booking_table where phone=$strPhone and name=$strName"
This is what I need on confirm result page.
Thanks for your time.