hi ,
i am new to php.just i am writing checkbox coding. how to store the selected check box value in Mysql.
[php]
$sql=mysql_quer y("select * from $ttablename") or die(mysql_error ());
while($row=mysq l_fetch_row($sq l))
{
echo"<tr>
<td><input type='checkbox' name='arr[]'></td>
<td >$row[0]</td>
<td>$row[1]</td>
<td>$row[2]</td>
</tr>";
}
[/php]
please reply me
i am new to php.just i am writing checkbox coding. how to store the selected check box value in Mysql.
[php]
$sql=mysql_quer y("select * from $ttablename") or die(mysql_error ());
while($row=mysq l_fetch_row($sq l))
{
echo"<tr>
<td><input type='checkbox' name='arr[]'></td>
<td >$row[0]</td>
<td>$row[1]</td>
<td>$row[2]</td>
</tr>";
}
[/php]
please reply me
Comment