NamePopulationCode\n"; for($i = 0 ; $i < mysql_num_rows($result); $i++) { $row_array = mysql_fetch_row($result); $name = $row_array[0]; $pop = $row_array[1]; $code = $row_array[2]; $map .= "$code=1&"; $table .= "$name$pop$code\n"; } $table .= "\n"; # Why the width= and height= echo "
\n$table\n"; ?>