What do i need to just get a text box in one of those and a text area box?Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/warren/public_html/whs/form template3.php on line 20
thanks
Code: Select all
<table border="1" width="100%">
<FORM METHOD="POST" ACTION="mailto:your email address">
<tr>
<td width="25%">Date</td>
<td width=25% valign="top"> </td>
<td width="50%">Assignment</td>
</tr>
<?php
$days=5;
function futureday($num_days_future)
{ for ($x=0; $x<$num_days_future; $x++)// loop through and add one day in seconds each time...
{
$numsec = 86400 * $x; //Multiply seconds by num_days_future
$nextday = time()+ $numsec; //Get Unix Time stamp
echo "<tr><td>" . date("j of F Y", $nextday) . "</td><td>I want a Form here</td><td>I want another form here</td></tr>";
}
}
futureday($days);
?>