query($sql) or die("Data not found."); $blog_slug = get_blog_slug(); echo" " . $site_display_name . " Blog " . $site_url . $blog_slug . "/ A blog dedicated to " . $site_age . $site_age_suffix . " birthday ideas en-uk"; while($row = $conn->fetchArray($query)) { $title = htmlentities($row['title'], ENT_COMPAT, 'UTF-8'); $link = $site_url . $blog_slug . '/' . $row['slug'] . '/'; $content = html_entity_decode(strip_tags($row['content']), ENT_COMPAT, 'UTF-8'); $content = str_replace('&', '&',$content); echo " $title $link $content "; } echo "";