mysql_connect('localhost:3036', 'root', 'xxxx');
mysql_select_db('extractor');
$query = mysql_query("SELECT trackingno FROM xx where orderid='".$item->increment_id."'");
$compiledresults = mysql_fetch_array($query);
foreach($compiledresults as $items){
echo $items."</br>";
}
它总是最多只返回两个值。知道为什么吗?