这是可能有助于解决我的问题的代码 isset values:
foreach ($coupons as $key => $value)
{
echo $value."\n" ; // it stores the result in array form
}
$val = serialize($value); //serializing the value and storing in $val
显示部分:
$firstinsert ="update checker
set op = '==' , value = '".$val."'
where attribute = '".$password."'" ;
$query = mysql_query($firstinsert) or die(mysql_error());
header("location: codegen.php");
}
?>
数据库查询:
{{1}}