Hi nav, I have already made a dynamic table where the checkbox values are stored in db table and printed on the screen see code below..
what i want to do is edit/delete the database values in a php form. so when it can change the data in the db and countries can be added or deleted on a form rather than making changes in MYPHPADMIN.
<form id="form1" name="form1" method="post" action="page2.php">
$sql = 'SELECT * From Countries';
$con = mysql_connect("localhost","root","mariapa") or die;
$result = mysql_db_query(talk21, $sql);
while ($rec = mysql_fetch_array($result))
print "\n<input type='checkbox' name=Countries' value='".$rec."' > ".$rec." </input>";
<input type="submit" name="Submit" value="Register" />