の各HTML要素の新しい配列値を作成します。私はこの文字列をオンにしようとしているPHP
> President Obama pointed blabla<br /> <br /> The only way I get this
> stuff <br /> <br /> I'm consulting with the Pentagon, with <br /> <br
> />
この配列に:(それぞれ "<br /> <br />
" のための新たな配列要素)
array (
[0] => President Obama pointed blabla
[1] => The only way I get this stuff
[2] => I'm consulting with the Pentagon, with
);
私はexplode("<br /><br /> ", $string)
を使用しようとしましたが動作しません。何か案は?
'爆発( "
"、$文字列)にしたい何をすべき
を' 2 '
' sの間のスペースに注意してください。 –