我無法弄清楚如何將MySQL的結果(地址,姓名)加載到這個格式:負載MySQL的結果數組到一個數組
$to=array(
array("address"=>"[email protected]","name"=>"John Doe"),
array("address"=>"[email protected]","name"=>"Jo Frost"),
array("address"=>"[email protected]","name"=>"Some One"),
etc...
);
請學習的老辦法。 Thx。
這將是有益的,看看你有什麼代碼,目前它輸出什麼。 – ArtisticPhoenix
你最近怎麼樣? – Zl3n
你想從dbase載入這種格式的數據嗎?如果是這樣,它只是在所有dbase提供商中取得所有資源。 –