i saw ur post as well as search with same keyword.
but not able to get things clear.
anyway so far i have done like this :
if ((isset($POST["MM_insert"])) && ($POST["MM_insert"] == "form1")) {
$que_id = '';
foreach($POST["que_id"] AS $key => $value){
$insertSQL = sprintf("INSERT INTO ts_masterset (que_id, name) VALUES (%s, %s)",
GetSQLValueString($POST['que_id'], "text"),
GetSQLValueString($_POST['name'], "text"));}
and my html code looks like, where i am generating all question through array :
<?php $questionsInclude = mysql_query("SELECT * FROM ts_questions WHERE setid='".$row_tsset['id']."'");
while($aquestionsInclude = mysql_fetch_array($questionsInclude)){
$qd = $aquestionsInclude['id'];
echo "<input name='que_id[]' type='checkbox' value='$qd'>";
echo $aquestionsInclude['question'];
echo "<br>"; }?>
but with this code i am getting "Array" as a value in database.
awaiting ur reply,
thanks.