Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Updating data in mysql neveikia

Parašė cropp· 2012 Sau. 23 16:01:53
#7

Pakeičiau tavo duotą kodą, tačiau tas pats. čia mano source. keista tačiau čia neištraukia ID <td><input name="pl_id" type="hidden" id="pl_id" value=""></td> kaip nekeičiu ID į pl_id viskas gerai veikia, tik pakeičiu ir neveikia.

<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>Turnyrine lentele</td>
</tr>
<tr>
<td colspan='3' class='main-body middle-border'>
<table width="400" border="0" cellspacing="1" cellpadding="0">
<tr>
<form name="form1" method="post" action="update_ac.php">
 
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td>&nbsp;</td>
<td colspan="3"><strong>Update data in <span style="border-bottom: 1px dotted black;">mysql</span></strong> </td>
</tr>
<tr>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td align="center">&nbsp;</td>
<td align="center"><strong>Name</strong></td>
 
<td align="center"><strong>Lastname</strong></td>
<td align="center"><strong>Email</strong></td>
</tr>
<tr>
<td>&nbsp;</td>
<td align="center"><input name="pl_name" type="text" id="pl_name" value="Jennings"></td>
<td align="center"><input name="pl_fname" type="text" id="pl_fname" value="Brandon" size="15"></td>
<td><input name="pl_position" type="text" id="pl_position" value="4" size="15"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input name="pl_id" type="hidden" id="pl_id" value=""></td>
<td align="center"><input type="submit" name="Submit" value="Submit"></td>
<td>&nbsp;</td>
</tr>
 
</table>
</td>
</form>
</tr>
</table>