I'm using PHP to generate some HTML,
<?php
$news = NewsDat();
foreach($news as $single_new)
{
echo $single_new[0] . " - " . $single_new[2] . "\n";
}
?>
I want to insert the results of this to a specific div in the page <div class="main">.
How can I take the results and insert it into that div?
I cant edit the body of the page only the Header so i'm doing all this work in the header.