摘要:
//$value=array('test'=>'中文字符串',"中文字符串",121312,'test',mt_rand(1,9999));//$value=json_encode($value);//var_dump($value);//$sql = "update user_1 set `val` = :val where `key` = 'u1001001' limit 1";如果此处val=$value下面代码不变则入库后反斜杠被去掉。这算是个手误。:val要和下面的execu 阅读全文