HTML form problem
Posted on
16th Feb 2014 07:03 pm by
admin
Ive made a form to that i want to send to my email via PHP. but when it send only the name's etc send and then the table belpw only Job location sends and the other columns do not send. is this a html problem or the php script?
Code: <body>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1095" id="AutoNumber1">
<tr>
<td width="26%"> <p><font face="Arial Black" size="5">Monthly Timesheet</font></p>
</td>
<td width="74%"></td>
</tr>
</table>
<form action="FormToEmail.php" method="post">
<p> </p>
<table border="0" style="background:#F5F5F5; ; border-collapse:collapse" cellspacing="5" width="1095" bordercolor="#111111" cellpadding="0">
<tr align="left">
<td width="154"><font face="Verdana" size="2">Employee Name:</font></td>
<td width="886" colspan="6"><font face="Verdana">
<input type="text" size="30" name="Employee Name"></font></td>
</tr>
<tr align="left">
<td width="154"><font face="Verdana" size="2">Employee Email:</font></td>
<td width="886" colspan="6"><font face="Verdana">
<input type="text" size="30" name="Employee E-mail"></font></td>
</tr>
<tr align="left">
<td width="154"><font face="Verdana" size="2">Employee Phone:</font></td>
<td width="886" colspan="6"><font face="Verdana">
<input type="text" size="30" name="Employee Number"></font></td>
</tr>
<tr align="left">
<td width="154"> </td>
<td width="886" colspan="6"> </td>
</tr>
<tr align="left">
<td width="154"><font face="Verdana" size="2">Manager:</font></td>
<td width="886" colspan="6"><font face="Verdana">
<input type="text" size="30" name="Manager"></font></td>
</tr>
<tr align="left">
<td width="154"> </td>
<td width="886" colspan="6"> </td>
</tr>
<tr align="left">
<td width="154"><font face="Verdana" size="2">Pay Period start date:</font></td>
<td width="886" colspan="6"><font face="Verdana">
<input type="text" size="30" name="Pay Period start date:"></font></td>
</tr>
<tr align="left">
<td width="154"><font face="Verdana" size="2">Pay Period end date:</font></td>
<td width="886" colspan="6"><font face="Verdana">
<input type="text" size="30" name="Pay Period end date:"></font></td>
</tr>
<tr align="left">
<td width="154"> </td>
<td width="886" colspan="6"> </td>
</tr>
<tr align="left">
<td width="154" align="center"><b><font face="Verdana" size="2">Job Location</font></b></td>
<td width="122" align="center"><b><font face="Verdana" size="2">Date</font></b></td>
<td width="121" align="center"><b><font face="Verdana" size="2">Site Hours</font></b></td>
<td width="121" align="center"><b><font face="Verdana" size="2">Travel</font></b></td>
<td width="118" align="center"><b><font face="Verdana" size="2">Dinner</font></b></td>
<td width="118" align="center"><b>Subs</b></td>
<td width="116" align="center"><b>Total</b></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location1"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location2"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location3"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location4"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location5"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location6"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location7"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location8"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location9"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location10"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location11"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location12"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location13"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location14"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location15"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location16"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location17"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location18"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location19"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location20"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location21"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location22"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location23"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location24"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location25"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location26"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location27"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location28"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr>
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location29"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr align="left">
<td width="154"><font face="Verdana">
<input type="text" size="30" name="Job Location30"></font></td>
<td width="886" colspan="6"><font face="Verdana"><font size="2"> </font><input type="text" size="18" name="Date"><font size="2">
</font><input type="text" size="18" name="Site Hours"><font size="2">
</font><input type="text" size="18" name="Travel"><font size="2">
</font><input type="text" size="18" name="Dinner"><font size="2">
</font><input type="text" size="18" name="Subs"><font size="2">
</font><input type="text" size="18" name="Total"></font></td>
</tr>
<tr align="left">
<td width="154"> </td>
<td width="886" colspan="6"> </td>
</tr>
<tr align="left">
<td width="154"> </td>
<td width="886" colspan="6"> </td>
</tr>
<tr align="left">
<td valign="top" width="154"><font face="Verdana" size="2">Further Comments</font></td>
<td width="886" colspan="6"><font face="Verdana">
<textarea name="comments" rows="6" cols="30"></textarea></font></td>
</tr>
<tr align="left">
<td width="154"> </td>
<td width="886" colspan="6"><font face="Verdana">
<input type="submit" value="Send"></font><font face="Verdana" size="2">
</font></td>
</tr>
</table>
</form>
</body>
</html>
123
12
Other php-forum
The page should be expire when cilck back button
hi,
i'm new to php world.
i create user registration page.
when i submit it,data goes to my
form problem
Hi all, I think this is going to be easy to resolve but for I have been looking at it to long and I
Removing Title From database problem
Hi again ! i am having an issue with updating database. When i update any price of a title it remove
Writing to the middle of a file
Hi I have a bit of a problem. Is there any way i can write some text to a middle of a text file. For
what does this mean? +=
is anyone able to explain what this code is saying?
i had it written for me awhile back and n
newbie question about multiple queries
hi everyone,
I'm sorry to ask such a basic question, but I'm young and trying to learn php on my
Custom list order
Hi there,
I have checked this tutorial and it's great till the point where I want to display
Pulling out some result data from MYSQL
Hey Guys,
I've built a PHP page that has a for just imagine something like registration form
Table colours fail when extra row added
Hey Gurus,
I got a weird problem with formating the colour of a table made in php. Everything
Email logic not working
I would like to send an email using the php email() function then if it does execute i.e sends i wou