Hi Guys, this question is purely cosmetic. I had read some post archives in the forum but still didnt quiet understand how too do it. Id like to format the output of the code below so that each result is nicely TABED away from its Heading, i want it too apply for all field results. For instance:
Area Code: 74348
City Name: blah blah
.
.
NOT
Area Code:90210 <----------this is what i get.
I've tried playing with the %nbsp, but keep erroring. Please go easy on me, im a beginner.:-)
#########################################
$result = mysql_query("select * from cites");
if ($result)
{
while ($row = mysql_fetch_array($result))
{
print "<b>Area Code:</b>";
print $row["area code"];
print "<br>\n";
print "<b>City name:</b>";
print $row["city"];
print "<br>\n";
print "<b>District:</b>";
print $row["district"];
print "<br>\n";
}
mysql_free_result($result);
}