ホームページ >バックエンド開発 >PHPチュートリアル >PHPは配列から重複を削除します
配列内の同じ ID を持つ項目を削除する方法
Array( [0] => Array ( [id] => 2 [title] => 26 ) [1] => Array ( [id] =>3 [title] => 28 ) [2] => Array ( [id] => 2 [title] => 26 ) [3] => Array ( [id] => 7 [title] => 25 ))
Array( [0] => Array ( [id] => 2 [title] => 26 ) [1] => Array ( [id] =>3 [title] => 28 ) [3] => Array ( [id] => 7 [title] => 25 ))