Form Input Varibles

User 1959372 Photo


Trial User
1 post

Trying to print an Html pages of varibles entered from Input Fields. Not sure what the varibles are called so I can print them to screen via and Htlm page.

For example the Field - Email ____________________

After this is entered by what name to I grab it to print it to screen via html.
User 46819 Photo


Registered User
31 posts

Miles,

Here is an example of some code from the contact page on my website:

<label for="contact_firstname" class="left">First Name:</label>
<input type="text" name="contact_firstname" id="contact_firstname" class="field" value="" tabindex="1" />
<label for="contact_familyname" class="left">Last Name:</label>
<input type="text" name="contact_familyname" id="contact_familyname" class="field" value="" tabindex="1" />
<label for="contact_company" class="left">Company:</label>
<input type="text" name="contact_company" id="contact_company" class="field" value="" tabindex="1" />
<label for="contact_phone" class="left">Phone:</label>
<input type="text" name="contact_phone" id="contact_phone" class="field" value="" tabindex="1" />
<label for="contact_email" class="left">Email:</label>
<input type="text" name="contact_email" id="contact_email" class="field" value="" tabindex="2" />

These fields will show up in an e-mail to me when someone submit the form. Not sure what you mean by printing them to a screen.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.