Without going overboard with explanation, I am writing this form via php echo, it displays fine and everything seems to work fine, but it seems like the submit button is not working, I have tried changing target, but nothing... it is as if the submit button is not working.
Code:
case "TextsForm":
$SQL = "Select TemplateID From TempData";
$result = mysql_query($SQL);
$row = mysql_fetch_row($result);
$ID = $row[0];
$SQL = "Select * from Templates Where TemplateID = '$ID'";
$result = mysql_query($SQL);
$row=mysql_fetch_row($result);
echo ("
");
for ($i=1; $i<=$row[3]; $i++)
{
echo ("
<form id='formTexts' name='formTexts' method='get' action='Texts.php' Target = '_blank'>
<table align = 'center' class='style7' border='0'>
<tr>
<td>$row[1] - Text $i</td>
<td><input type='Hidden' name='TemplateID' value = $ID/></td>
<td><input type='Hidden' name='TxtID' value = $i/></td>
</tr>
<tr>
<td>Left:</td>
<td><input type='text' name='Left' /></td>
</tr>
<tr>
<td>Bottom:</td>
<td><input type='text' name='Bottom' /></td>
</tr>
<tr>
<td>Width:</td>
<td><input type='text' name='Width' /></td>
</tr>
<tr>
<td>Height:</td>
<td><input type='text' name='Height' /></td>
</tr>
<tr>
<td>Font: </td>
<td><input type='text' name='Font' /></td>
</tr>
<tr>
<td>Color:</td>
<td><input type='text' name='Color' /></td>
</tr>
<tr>
<td>Shadow:</td>
<td><input type='text' name='Shadow' /></td>
</tr>
<tr>
<td colspan='2'><div align='center'><input type='submit' value='Submit' /></div></td>
</tr>
</table>
</form> ");
}
echo ("
<tr>
<td colspan='5' class='style8'><div align='center' class='style8'><a href = '#' title = 'Cancel Action' onClick = InitPage('Categories','Categories','','Templates','Initial','')>Cancel Action</a></div>
</tr>
");
break;
|