Hello,
I am querying a database that contains 17 fields. I'm using the code below to display the results. The display results look very ugly (screen_shot1.jpg).
I would like to display the results like (screen_shot2.jpg).
How do I do this?
Thanks a lot.
My code:-
<?php
while ($get_info = mysql_fetch_row($result))
{
print "<tr>\n";
foreach ($get_info as $field)
print "\t<td align=center bgcolor=#CCFFFF><font face=arial size=3>$field</font></td>\n";
print "</tr>\n";
}
print "</table>\n";
?>