Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more  

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Design Forum > HTML / CSS
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-22-2008, 04:49 AM   #1 (permalink)
WebDummy01
Junior Member
 
Join Date: Mar 2008
Posts: 1
Question Web Forms

I have a question about an html form I am working on.

First let me say that my form is working correctly. I am using a simple form mail php script to send my forms data to a few different email addresses. The issue begins when I check my email once I get the submitted data I am also getting a bunch of unwanted data.

The First Part of my forms code looks like this

Code:
Personal Information:</font></td> </tr> <tr> <td bgcolor="#323232" align="right" valign="baseline" width="44%" colspan="2"> <font face="Verdana" size="2">Reference Number </font></td> <td bgcolor="#323232" align="right" valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"></p> <p align="left"><font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"><input size="45" name="Ref_Number"></font></span></font></td> </tr> <tr> <td bgcolor="#323232" valign="baseline" width="44%" colspan="2"> <font face="Verdana" size="2"><br> <br> First Name :</font></td> <td bgcolor="#323232" align="right" valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"></p> <div align="left"> <font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"> <input size="45" name="P_Info_First_Name"></font></span></font></div> </td> </tr> <tr valign="top" align="right" bgcolor="#323232"> <td valign="baseline" width="44%" colspan="2"><font face="Verdana" size="2">Last Name : </font></td> <td valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"> <p align="left"><font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"><input size="45" name="P_Info_Last_Name"></font></span></font></td> </tr> <tr valign="top" align="right" bgcolor="#323232"> <td valign="baseline" width="44%" colspan="2"><font face="Verdana" size="2"><br> Your Email address :</font></td> <td valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"></p> <div align="left"> <font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"><input size="45" name="P_Info_Email"></font></span></font></div> </td> </tr> <tr valign="top" align="right" bgcolor="#323232"> <td valign="baseline" width="44%" colspan="2"><font face="Verdana" size="2">Address 1 :</font></td> <td valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"> <div align="left"> <font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"> <input size="45" name="P_Info_Address_Line1"></font></span></font></div> </td> </tr> <tr valign="top" align="right" bgcolor="#323232"> <td valign="baseline" width="44%" colspan="2"><font face="Verdana" size="2">Address 2 :</font></td> <td valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"> <div align="left"> <font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"> <input size="45" name="P_Info_Address_Line2"></font></span></font></div> </td> </tr> <tr valign="top" align="right" bgcolor="#323232"> <td valign="baseline" width="44%" colspan="2"><font face="Verdana" size="2">City :</font></td> <td valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"> <div align="left"> <font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"><input size="45" name="P_Info_City"></font></span></font></div> </td> </tr> <tr valign="top" align="right" bgcolor="#323232"> <td valign="baseline" width="44%" colspan="2"><font face="Verdana" size="2">State :</font></td> <td valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"> <div align="left"> <font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"><input size="45" name="P_Info_State"></font></span></font></div> </td> </tr> <tr valign="top" align="right" bgcolor="#323232"> <td valign="baseline" width="44%" colspan="2"><font face="Verdana" size="2">Zip Code :</font></td> <td valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"> <div align="left"> <font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"><input size="45" name="P_Info_ZipCode"></font></span></font></div> </td> </tr> <tr valign="top" align="right" bgcolor="#323232"> <td valign="baseline" width="44%" colspan="2"><font face="Verdana" size="2">Home Phone :</font></td> <td valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"> <div align="left"> <font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"> <input size="45" name="P_Info_Home_Phone"></font></span></font></div> </td> </tr> <tr valign="top" align="right" bgcolor="#323232"> <td valign="baseline" width="44%" colspan="2"><font face="Verdana" size="2">Cell Phone :</font></td> <td valign="baseline" width="1%">&nbsp;</td> <td align="center" width="55%" valign="baseline" colspan="3"> <div align="left"> <font face="Verdana"><span style="font-size: 9pt"> <font face="Verdana" color="#AEAEAE"> <input size="45" name="P_Info_Cell_Phone"></font></span></font></div> </td>

When I fill out the form with “Test-Information” in each text box then I submit the information. Once I get the submitted data it looks like this:

Ref_Number: 000000
P_Info_First_Name: Test-Information
P_Info_Last_Name: Test-Information
P_Info_Email: Test-Information
P_Info_Address_Line1: Test-Information
P_Info_Address_Line2: Test-Information
P_Info_City: Test-Information
P_Info_State: Test-Information
P_Info_ZipCode: Test-Information
P_Info_Home_Phone: Test-Information
P_Info_Cell_Phone: Test-Information

What I like to know if there is a way to hide the unwanted data. I want to remove everything but the info the users enter.
WebDummy01 is offline   Reply With Quote
Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 06:05 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums