Forum Moderators: coopster

Message Too Old, No Replies

Multiple submissions from one form

         

Afrodite

12:14 pm on Oct 6, 2008 (gmt 0)

10+ Year Member



I have a custom quote page on my site with multiple options so that a customer can see the price for what they want. It does this by submitting a form to my shopping cart solution where it shows the price; however, if they do not make an order I have no record of how many people fill out the quote form or their emails.

I have made a temporary solution where they have to fill in their email before they can access the form, but ideally i would love to have an integrated page where they choose their option, fill in their email, and then get taken to the shopping cart to see the price while I get their email details sent to me.

Does anyone have any ideas how I might do this?

Thanks

[edited by: eelixduppy at 1:52 pm (utc) on Oct. 6, 2008]
[edit reason] no URLs, please [/edit]

eelixduppy

1:57 pm on Oct 6, 2008 (gmt 0)



Hello and Welcome to WebmasterWorld!

You can use the mail [us3.php.net] function to do such a thing. Take a look.

Afrodite

1:09 pm on Oct 7, 2008 (gmt 0)

10+ Year Member



Thanks.
So to recap, by placing the php code within my html form, submitting the form will go to my shopping cart whilst simultaneously sending me an email?

NeilsPHP

2:52 pm on Oct 8, 2008 (gmt 0)

10+ Year Member



you could
1.save the info that you need in sessions
2.carry that info to the script to shopping cart
3.save info into mysql database
4 either use mail funtion to send yourself email with the info you need or recover that info using mysql later

hope that helps