Hi...
i have some values with an checkbox ......
$result = mysql_query("SELECT * FROM service_type ");
while($row = mysql_fetch_array($result))
{
?><input type="Checkbox" name="contype" value="B"> <?echo $row['servicet'];
echo "<br />";
}
}
after the execution of this code....the list of values will be displayed, e.g red,black,white,yellow etc......if he selects only two......
actually i want it to store in database ....which ever he selects whether one or two......since i have given same name for all checkboxes i am getting confused like how to store .....which particular value he has selected.......help me out.......
Thanks