Hello, my function echo only 1 result. I want to echo more results with using this function. Can you please help me, thanks! function data_dump($query) { $nt=mysql_query($query); echo mysql_error(); $results = array(); while($row=@mysql_fetch_array($nt)) $results[] = $row; foreach($results as $key=>$val) $sitelink = "<h3><a href='http://www.site.com/$val[id]-$val[alt_name].html'>$val[title]</a></strong></h3>$val[short_story]<br>"; echo $sitelink; return $sitelink; } data_dump($query); PHP: