$infos=htmlspecialchars($content);
$infos=stripos($infos,"<div>",0)!==false?str_replace("<div>","<P>",$infos)
content;
$infos=stripos($infos,"</div>",0)!==false?str_replace("<div>","</P>",$infos)content;echo htmlspecialchars_decode($infos);