ホームページ >バックエンド開発 >PHPチュートリアル >正規表現を使用した記事セグメントの読み取りに関する質問
正表形式を使用して文章部分を読むことに関する問題 ', " ", $ body); ]*> ", $text);
$subtitle = html_entity_decode($arrArticle['subtitle']) ;
$source = html_entity_decode($arrArticle['source']);
$author = html_entity_decode($arrArticle['author']);
$intro = html_entity_decode($arrArticle['intro'] );
$body = $arrArticle['content'];
$text = eregi_replace('
$text = eregi_replace("
$text = eregi_replace("< p([^>]*)>
", "
$body =tripslashes(str_replace("
第1段
<ただし、実際にこのようなセグメントに分割された文書が存在する場合があります。 ;br>