I got the following code:
$comments = $db->QueryFetchArray("SELECT * FROM `ycommentbox` WHERE `url`='".$id."'");
foreach ($comments as $comment) {
echo $comment;
}
which echoes:
"test121677129055"
"ycomemntbox" structure:

Why isn't it echoing the other 2 rows but just the first one?
It should echo this:
"test121677129055"
"test221677129056"
"test321677129057"
var_export($comments);to see the data structured being returned byQueryFetchArray? What does the result look like?QueryFetchArray()is not a standard function, so we do not know what it returns. It may fetch one row, or maybe many.