PDA

View Full Version : Changing the order of how a form is delivered


thejlw
05-13-2009, 05:12 AM
I have a form on my website. When someone fills out the form I get the results in my email. The problem I'm having is that the results are delivered in alphabetical order. How can I change this so that the results are emailed to me in the same order the fields are layed out?

Example -->

I have a form on my website that looks like this:

First Name:
Last Name:
Address:
Email:
Phone Number:

When I receive the form in my email the results are delivered in alphabetical order like this:

Address:
Email:
First Name:
Last Name:

I want to be able to have the results delivered as they are displayed on my website. How would I do this?

edbr
05-13-2009, 06:20 AM
change the script that sends the mail. if you name the fields you can decide the order they are echo'd out

thejlw
05-14-2009, 06:14 AM
Can you give me an example (code maybe?) of how I would do that?