how to assign database values to checkboxes from the following code i am geting only one value through post
<form method="POST">
<?php
$j=0;
while ($value1 = mysql_fetch_row($value)) { ?>
<table>
<tr>
<td>
<input type='checkbox' name='expert' value=' <?php echo $value1[1]; ?>' >
<?php echo $value1[1]; ?> </td>
<td>
<input type='checkbox' name='intrest' value="<?php echo $value1[2]; ?>">
<?php echo $value1[2]; ?></td>
</tr>
</table>
}
?>
<input type="submit" name="submitForm" value="submit" />
</form>
<?php
$Area=$_POST[expert];
echo "<p>".$Area."</p>";
?>