Hi there,
I have a site that i'm working on at the moment where users can get a quote for a service. When the form is submitted, the user is taken to a differant page where the $quoteprice is displayed.
I want to add a button called 'Contact me regarding this quote' which when clicked, will send the users details to a sendmail.php file that in turn emails the details to me. The users details have already been collected on the previous page, and are stored in this page as the form results.
How can I therefore send information from the quote results page to the sendmail.php file at the click of a button?
If I create a HTML form, then can I automatically enter into this form information that I have already gathered?
Or is there a way of sending the information to the sendmail.php file, on a button click, without using a HTML form?
Thanks!
Sending information
Moderator: General Moderators
Re: Sending information
No worries, sussed it!
Code: Select all
<input name="quoteprice" type="hidden" value= "<?php echo $quoteprice ?>" />
<input name="name1" type="hidden" value= "<?php echo $name1 ?>" />