Pleeease help! I am hosting several sites with GoDaddy which use their own php mail forms. GoDaddy has their server set to sort variables in alphabetical order by deafault. This is a nightmare for me and I cannot figure out how to set custom sort orders. Can someone please tell me how to fix it so when the variable are emailed to me things will appear in the order I want them to? Such as First Name, Last Name, Address, and so on? I would reeeeally appreciate it!

If the order's consistent, just store the reference in to the variables you want to use in the order they're presented. It's better to use a name to reference them, like $_POST['username'] does, but sometimes you don't get much choice.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.