[Edit]Well, I typed all this before you posted back, but I'll leave it here for anyone else with this problem. Remember to mark the thread resolved by clicking the link below.[/Edit]
Since you didn't give any code for what you have, I'll just be able to give you a brief mockup:
$result = mysql_query('your query');
while ($row = mysql_fetch_row($result, MYSQL_NUM)) {
$body.= "some HTML".$row[0]."some more HTML...";
}
Something like that should suffice. The "." is the concat operator (concatenation means connect), used to put two strings together.