$bodytext = str_replace("\n", " ",$structure->body);
$bodytext = str_replace("<body>", "", $bodytext);
$bodytext = str_replace("</body>", "", $bodytext);
$bodytext = str_replace("\n", " ",$structure->body);
$bodytext = str_replace("<body>", "", $bodytext);
$bodytext = str_replace("</body>", "", $bodytext);