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>
Need help with some php code :)
Hey! I'm quite new to this whole thing, so please don't fire me with shait on this one =DI'm trying to learn PHP and MySQL, and atm I am trying to make a website which corresponds with a database - a
Delete all from a table
I can not get the following code to work. If I run the sql statement in the db it will delete all the data but it will not work from the page. My connection string is fine I just can not get it to
Validating time
Hi Guyswhat do you think of the following approach to validate a 24hour time:http://snipplr.com/view/23007/validate-time/Are there any better approaches ?
Coding Critique
I was hoping someone could take a second and look down my code and see if they see any problems with how it was written before I continue on.Code: <?php require
Count on multidimensional array
Hi, i got an array as below:Array( => Array ( [2009-12-08] => 1 ) [1] => Array ( [2009-12-07] => 1 ) [2]
Form Help
Here is the form:Line number On/Off | Expand/Contract<? include("../include/session.php"); ?> <?php if ($submit) { $sql = "UPDATE productimages
Internal Server Error issues
This has been bothering me for weeks and I've been trying to solve it without asking for help, but eventually I had to give up Basically, I have a website that is based around manipulating photos with
Scrolling news bar and MySQL
I am not sure if this is the correct forum to post this on. If not, I apologize. I am still pretty new to PHP. I am editing a website for a friend. He had a news headlines section on his home
Request-URI Too Large
I have created a simple submit form for a mysql database that puts a piece of code into database.But if I want to put a document of any decent length, eg. 500 characters (I guess), I get the error
Help: calling function
Hi,Is it possible to call a php function on page close?If yes, could you explain how and where to call?any example code will be appreciated.Thanks