AHRDMA LogoAHRDMA
"; echo "Current News

"; $nquery = "SELECT * FROM members_stories WHERE topicid='2' ORDER BY published DESC LIMIT 6"; $req = mysql_query($nquery); if (!$req) { echo "Error ".mysql_errno()." : ".mysql_error().""; exit; } $res = mysql_num_rows($req); if ($res == 0) { echo "

There are currently no news stories.


"; } else { while($row = mysql_fetch_array($req)) { extract($row); $date = date("d/m/Y", $published); $rawnews = $hometext; $realnews = bb2html($rawnews,$name); echo "\n
\n$title:
\n$realnews

\nPosted on $date.\n


\n"; } mysql_free_result($req); } echo ""; } ?>
"; echo $row["subject"]; echo ""; echo "

"; $rawtext = $row["informations"]; $text = bb2html($rawtext,$name); echo $text; } ?>