OliveStreet
12-29-2008, 07:33 PM
Moved from the Javascript Forum
Greetings all ....
This may be more of a PHP issue, but I thought I'd start here.
I have an art web site. There will be paintings, jewelry, home decor items, etc. Each item will be highlighted with a short description within a div tag.
I'm also using SSIs for the footer and banner.
What I'd like to do is have one form for item inquiries. From each featured item I would like to have a button/link that can be clicked to make an inquiry. That link would take the person to a form which can then be filled out with name, email, phone, etc. However, I'd really like to have a field pre-populated with an ID from the featured item they just clicked from.
Is there a simple way of doing this? Using php, I'm not sure how to carry the ID value from the featured item and paste it into the value= field in the form.
Thank you for your help
Greetings all ....
This may be more of a PHP issue, but I thought I'd start here.
I have an art web site. There will be paintings, jewelry, home decor items, etc. Each item will be highlighted with a short description within a div tag.
I'm also using SSIs for the footer and banner.
What I'd like to do is have one form for item inquiries. From each featured item I would like to have a button/link that can be clicked to make an inquiry. That link would take the person to a form which can then be filled out with name, email, phone, etc. However, I'd really like to have a field pre-populated with an ID from the featured item they just clicked from.
Is there a simple way of doing this? Using php, I'm not sure how to carry the ID value from the featured item and paste it into the value= field in the form.
Thank you for your help