ホームページ >バックエンド開発 >PHPチュートリアル >PHP は 2 つの配列出力の問題を実装します
$units =explode(",",$row["units"]);
//出力結果: Array ( [0] =>basin [1] =>Dapeng )
$ brand =explode(",",$row["brand"]);
//出力結果: Array ( [0] => 45 [1] => 56 )
?>
実装方法:
盆地
Dapeng
ディスカッションに返信 (解決策)