Simple database/php question. Return database items on new lines?

I have some code that returns information frommy database side by side like this.

Name Content

But i would rather it be returned underneath each other like this:

Name
Content

At current my code is like this:

$num_rows = mysql_num_rows($result);
print "<table width=100% border=0>\n";
while ($get_info = mysql_fetch_row($result)){
print "<tr>\n";
foreach ($get_info as $field)
print "\t<td>$field</td>\n";
print "</tr>\n";
}
print "</table>\n";

Can you tell me how to make it one below another?
Thanks in advance :)
 
Back
Top