第一个页面中<input type="hidden" name="objPost" value = .str_replace('+', '%2b', base64_encode(serialize($objs))). />
第二个页面$objList= unserialize(base64_decode(trim($_POST['objPost'])));$objs里面是一个数字,里面每个参数都是对象,现在传到第二个画面之后,变成了一个boolean型,
还请高手帮忙看看
第二个页面$objList= unserialize(base64_decode(trim($_POST['objPost'])));$objs里面是一个数字,里面每个参数都是对象,现在传到第二个画面之后,变成了一个boolean型,
还请高手帮忙看看
"objs" = Array [12]
7 = Object of: stdClass
5 = Object of: stdClass
6 = Object of: stdClass
8 = Object of: stdClass
30 = Object of: stdClass
19 = Object of: stdClass
38 = Object of: stdClass
37 = Object of: stdClass
39 = Object of: stdClass
36 = Object of: stdClass
40 = Object of: stdClass
41 = Object of: stdClass
第二个页面$objList= unserialize(base64_decode($_POST['objPost']));
试一下!