ok the following code works , well works for pulling the info , well at least i think it does. I know my code is a little whacky as has been pointed out but it comes from within another module hence the layout. Anyway the second query's output works perfect and displays as it should but the first query just seems to display the same values for all 10 lines. Is it the way that i have the querys ect set out. Some helpful advice on this would be so welcome as its fustrating the hell out of me. [code]$query = $DB->query("SELECT name, date, regdate FROM users ORDER BY regdate DESC LIMIT 10"); while ($info = $DB->fetch_row($query)){ $name1 = $info['name']; $date1 = $info['date']; $query = $DB->query("SELECT subject, lastposter, views, replies, lastpost FROM thread ORDER BY lastpost DESC LIMIT 10"); while ($info1 = $DB->fetch_row($query)){ $ctoff = "35"; $subject = info1['subject']; $lastposter = info1['lastposter']; $views = info1['views']; $replies = info1['replies']; if (strlen($subject) > $ctoff) { $subject = substr($subject,0,$ctoff); $subject .= "..."; } $content .= " <tr> <td class=\"sidedash\" align=\"left\" >$name1</td> <td class=\"sidedash\" align=\"right\" >$date1</td> <td class=\"sidedash\" align=\"left\" >$subject</td> <td class=\"sidedash\" align=\"left\" >$lastposter</td> <td class=\"sidedash\" align=\"right\" >$views</td> <td class=\"sidedash\" align=\"right\" >$replies</td> </tr>"; } }[/code]