PGメモ

非エンジニアの記録

simplexmlでパースしたXMLから文字列を出力させたかったけどできなかったので違う方法を使った

$hoge = simpexml_load_file($url);
$title = $hoge->title;

nl2br(html_entity_decode($title->asXML()));