日期:2014-05-17 浏览次数:20653 次
foreach($list as $value)
{
$this->output .= $value['q_username'];//a
$this->output .= print_r($value);// b
}
foreach($list as $key=>$value)
{
$this->output .= $value['q_username'];//a
$this->output .= print_r($value);// b
}
------解决方案--------------------
把第二行前面的 $this->output .=去掉看看。
foreach($list as $value) {
$this->output .= $value['q_username'];//a
print_r($value); // b
}
echo $this->output;
------解决方案--------------------