Hi All, My site is html built and offers vacation tours. I would like to display text a form field on a new page when a user clicks on a link. For example: If a user is viewing Tour 1 and clicks on the link to enquire about Tour 1 availability. Clicking on the link will send the user to a form based enquiry page with the text “Tour 1” displayed in a form field. I don’t want to create a form for each tour hence the request. The form page will be php but the tour page will be html. Is this possible to do? Thanks in advance.
link the HTML page to lead to the PHP file using GET parameters….
send them as GET method from form use mysql to show releated query page and also htaccess to make url userfreindly like yourwebsite.com/tour1
yourwebsite.com?offer=tour1
or yourwebsite.com/tour1
by this method u wont have different page for different offers
if you use html then you can use header() in query page to redirect them to html page but you have to make different page for each offer ...
mears said
Hi All, My site is html built and offers vacation tours. I would like to display text a form field on a new page when a user clicks on a link. For example: If a user is viewing Tour 1 and clicks on the link to enquire about Tour 1 availability. Clicking on the link will send the user to a form based enquiry page with the text “Tour 1” displayed in a form field. I don’t want to create a form for each tour hence the request. The form page will be php but the tour page will be html. Is this possible to do? Thanks in advance.
Yes, possible! Send me further details and will quote it accordingly.
Email me at sandramercado2010 [at] gmail [dot] com.
Hoping to hear from you!
- Sandra ..
creativestuff said
link the HTML page to lead to the PHP file using GET parameters….
Many thanks for the information. Mears
samundrak said
send them as GET method from form use mysql to show releated query page and also htaccess to make url userfreindly like yourwebsite.com/tour1yourwebsite.com?offer=tour1
or yourwebsite.com/tour1
by this method u wont have different page for different offers
if you use html then you can use header() in query page to redirect them to html page but you have to make different page for each offer ...
Many thanks for the information. I don’t have a DB at the moment and am completely unfamiliar with mySql. Think i will have to get someone who knows more than I to do this for me. Regards, Mears
sandra_2010 said
mears said
Hi All, My site is html built and offers vacation tours. I would like to display text a form field on a new page when a user clicks on a link. For example: If a user is viewing Tour 1 and clicks on the link to enquire about Tour 1 availability. Clicking on the link will send the user to a form based enquiry page with the text “Tour 1” displayed in a form field. I don’t want to create a form for each tour hence the request. The form page will be php but the tour page will be html. Is this possible to do? Thanks in advance.Yes, possible! Send me further details and will quote it accordingly.
Email me at sandramercado2010 [at] gmail [dot] com.
Hoping to hear from you!
- Sandra ..
Thank you I will email you. Mears
