//php接收数组
global $_GPC;
$orderlist=$_GPC['unPaid'];
$s1 = html_entity_decode($_GPC['unPaid']);
$s2 = stripslashes($s1);
$orderlist2=json_decode($s2, true); //orderlist2即为数组,可进行for循环
PHP接收前端发送的数组
最新推荐文章于 2023-07-17 20:28:27 发布