Thanks for you quick reply. Unfortunatly it appears the curly brace "{}" are meant to be. I changed them as per your suggestion and it broke completely. Eclipse also reports a syntax error when they are changed. I wont post the error as I don't want to confuse the issue. Here is the full code.
$query = "SELECT * FROM people";
$result = mysql_query($query);
$my_rows;
while($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
$my_rows = $my_rows. "Name : {$row['name']} " . "id : {$row['id']} ";
}
echo $my_rows;
Thanks again.