$old['xxx'] = (int) $_POST['ooo'];
$res = serialize($old);
取出:
var_dump(unserialize($res));die;
手册:http://php.net/manual/zh/function.serialize.php
序列化表单(Ajax中):https://blog.csdn.net/xinghuo0007/article/details/72654817
$old['xxx'] = (int) $_POST['ooo'];
$res = serialize($old);
取出:
var_dump(unserialize($res));die;
手册:http://php.net/manual/zh/function.serialize.php
序列化表单(Ajax中):https://blog.csdn.net/xinghuo0007/article/details/72654817