I do have two check boxes named as Active and Require and i do have a grid as well in which i have to insert the data of this two check boxes.for that i have written the Insert statement as follows:
$myVals=$_POST;
$fields ="question,active,req,sort_order,dtype";
$myVals["sort_order"]="";
$myVals["dtype"]="";
$sql=makeSQL($myVals,$fields,
"INSERT INTO s_additional_data(kunnr,$fields)values("."'".$_SESSION['kunnr']."',",
but i am getting an error as Incorrect integer value: '' for column error. suggest me on this.