Web Hosting Talk







View Full Version : Form Help


labzone
08-13-2002, 06:55 PM
Hoping a talented php coder can help..

I use a basic php form to process orders using pgp. I wanted to know how I can have a copy of the completed order automatically emailed to the customer once an order is placed. Also, how would I **** the credit card number within the emailed customer copy (except the last four digits)?

labzone
08-13-2002, 07:06 PM
Also..

How can I have the customer review the order form before final submission? In other words, customer fills out the form and clicks preview and has the option to review the form for mistakes before final submission.

Hey It's Me
08-13-2002, 07:33 PM
Not sure about how to mask the cc # but you can use the mail function to send email to your customer

Hey It's Me
08-13-2002, 07:40 PM
One way to let the customer review the submission is to place the form names in html as php variables. The format is as follows:

For instance, if you have a field that is named "Name" you can use it as a variable to display back in html in your php script:

<?php echo $Name ?>

You can do this for all form fields. You can add a javascript back link if the user needs to modify the input.

Hope this helps.

There is another way to do this. There are plenty of good tutorials out there and some excellent books too.

labzone
08-13-2002, 10:17 PM
I found a member to create a php form with these features.