0

Hi all!

I created a form for a website I'm building for a friend; and he wants to be able to have the form information submitted to him via email.

The problem is that when the information is submitted, the items are coming up with the names, not the label from the form.

Example: 'currents' is the name for the Current Character form option. We want the Current Character to display, and not the object name.

Is there any way to format the information?

4
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by Airshow
0

use $_POST it will give you the data. If I am wrong please put the outcome of results after submit.

0

Midnightdesire,

The problem is that when the information is submitted, the items are coming up with the names, not the label from the form.

That's the way forms work.

$_POST (or $_GET depending on the form's method) is an associative array indexed by the names of the elements in the submitted form.

A form element's label is exactly that - a label - part of the human interface. On form submission, labels are not transmitted back to the server.

Airshow

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.