while ($body_content = mysql_fetch_array($table_content)){for ($i = 0; $i < $num_fields; $i++){echo "<td>".$body_content[$i]."</td>";}