- $_px - 1234);echo $orderlist[54]['paperid'].'';$_px = 55;$_px = $_px-1;echo $orderlist[$_px]">
时间:2021-07-01 10:21:17 帮助过:30人阅读
echo $orderlist[54]['paperid'];值为1234
------
但是
$_px = 55;
$_px = $px-1;
echo $orderlist[$_px]['paperid'];值为0了
echo $orderlist[54]['paperid'];值为1234
------
但是
$_px = 55;
$_px = $_px-1;
echo $orderlist[$_px]['paperid'];值为0了
$orderlist = array();$orderlist[54] = array( 'paperid' => 1234);echo $orderlist[54]['paperid'].'
';$_px = 55;$_px = $_px-1;echo $orderlist[$_px]['paperid'];