<? php
echo "<font color: 'red'>";
echo "<table border='1' width='700'><tr>";
for($i=0; $i<$fields_num; $i++)
{
$field = mysql_fetch_field($result);
echo "<td>{$field->name}</td>";
}
echo"</font>";
?>
i wrote the code like this to get all the rows displayed be in red color.
But it is not effecting the table..
it is not filling with any color.
so please help me.
echo "<font color: 'red'>";
echo "<table border='1' width='700'><tr>";
for($i=0; $i<$fields_num; $i++)
{
$field = mysql_fetch_field($result);
echo "<td>{$field->name}</td>";
}
echo"</font>";
?>
i wrote the code like this to get all the rows displayed be in red color.
But it is not effecting the table..
it is not filling with any color.
so please help me.