$tmpdate = array();
$lenth2 = count($res_tmp);
for($i=0;i<$lenth2;$i++)
{
$tmpdate[$i] = $res_tmp[$i]['subdate'];
}
其中$res_tmp就是从数据库查询中获得一个二维数组(通过循环处理得到的)
其中第一维维度就是几百,第二维维度就是四五个。
居然Fatal error: Allowed memory size of 536870912 bytes $res_tmpexhausted (tried to allocate 16 bytes)哪位大神,GGJJ能给点灵感。
$lenth2 = count($res_tmp);
for($i=0;i<$lenth2;$i++)
{
$tmpdate[$i] = $res_tmp[$i]['subdate'];
}
其中$res_tmp就是从数据库查询中获得一个二维数组(通过循环处理得到的)
其中第一维维度就是几百,第二维维度就是四五个。
居然Fatal error: Allowed memory size of 536870912 bytes $res_tmpexhausted (tried to allocate 16 bytes)哪位大神,GGJJ能给点灵感。
·详情请访问:http://www.515dns.com