Hi,
I want to have multiple selection checkbox in my website, where user can check for the multiple options.
But for checkbox i should get the data from the database table.
$query2 = "select * from Products where CategoryID = '$CategoryName' ";
mysql_query($query2) or die(mysql_error());
$array = array();
while($row = mysql_fetch_assoc($query2)){
$array[] = $row;}
I dont know is this the right way. but after this i dont know what to do. Please help me with the script . thanks