hi every body, i am sure its not that much hard but somehow i stuck in situation which look
very much unclear to me.
in fact i have a table through i am selecting different records
each records will be printed with the checkbox
what i want to insert checked fields in the database
following is the code which i am using for printing the each field with check box
<?
$con = mysql_connect("localhost","","");
if(!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("", $con);
$result= mysql_query("SELECT * FROM central ");
while($row = mysql_fetch_array($result))
{
echo "<table width=100% bgcolor=#ffffff >";
echo "<form method=post name=myform action=wh_request_test.php>";
echo "<tr>";
echo "<td align=center>" .$row[1] . "</td>";
echo "<td align=center>" . $row[2] . "</td>";
echo "<td align=center>" . $row[5] . "</td>";
echo "<td align=center>" . $row[4] . "</td>";
echo "<td><input type=checkbox name=cc[] vlaue= $row[0] /> </td>";
echo "</tr>";
echo "</table>";
}
?>