Articles on Environmental Topics
Home / Environmental

EOT; $result = mysql_query("SELECT * FROM articles", $db); while($myrow = mysql_fetch_array($result)){ $title = substr($myrow[title], 0, 50) . '...'; $description = '...' . substr($myrow[body], 305, 225) . '...'; $description = strip_tags($description); $displaylink = str_replace(' ', '-', $title); $displaylink = preg_replace("/[^a-zA-Z0-9-]/", '', $displaylink) . '_' . $myrow[id] . '.html'; echo "

$title - $description

\n"; } include("includes/footer.php"); exit; ?>