its been a long time since ive tried to do this, and i cant find an example of it that I've done before... so i have:
$entryid = $_GET['id'];
require("dbconnect.php");
$_comments = "SELECT * from blogcomments WHERE blogentryid = $entryid ORDER BY id DESC";
$get_comments = mysql_query($_comments) or die ("Little Error" . mysql_error());
$c = mysql_fetch_array($get_comments);
echo "<div class=\"commentPane\">";
print_r("<div class=\"comments\">".$c['date'] . "<br>" .$c['author'] . " Wrote: <br>" . ereg_replace('[\]', "", $c['comment'])."</div><br><Br>");
echo "</div>";
what im trying to do is display all the results from the database query, but it's only showing one. Help please 🙂