数据已更新但未在php页面上显示

时间:2016-02-02 09:48:44

标签: php mysql wamp

这是可能有助于解决我的问题的代码 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}}

0 个答案:

没有答案