こんにちは、一連のコード/リファレンスである次の文字列があります。
<?PHP
$list="1010<1>;1020<?>;3010<?>"; the list of items code
$id="5060<?>"; //will add this
$list_unique=explode(";", $list);
print_r($list_unique);
?>
出力は次のようになります: Array ( [0] => 1010<1> [1] => 1020 [2] => 3010 ) なぜ? なぜその部分を忘れたのですか?そのはず
配列 ( [0] => 1010<1> [1] => 1020< ?> [2] => 3010< ?> )