In short, my tables keep printing out in black, this is somewhat of a problem given that I have a grey background. This Script prints out a database from a mysql table, but everytime I try to change echo "<table border='1'><tr>"; to
echo "<table border='1' bgcolor="white"><tr>"; I get an error. Any Suggestions?
echo "<h1>Address Book</h1>"; echo "<table border='1'><tr>";
$fields_num = mysql_num_fields($result);
for($i=0; $i<$fields_num; $i++){
$field = mysql_fetch_field($result);
echo "<td>{$field->name}</td>";}
echo "</tr>\n";
while($row = mysql_fetch_row($result)){
echo "<tr>";
foreach($row as $cell)
echo "<td>$cell</td>";
echo "</tr>\n";}