PDA

View Full Version : I need some help please.



csabi_fl
09-13-2006, 04:40 AM
Hi.
I need a little help.Please take a look at this code.
<?php
mysql_pconnect("","","");
mysql_select_db("");
$query = "SELECT* FROM submit WHERE loginid='$loginid' LIMIT 1";
$result = mysql_query($query);
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
echo "Your answer:";
echo " {$row['F']}";
}
?>
What I want to do is change the color of the variable 'F',perhaps to red in order to stand out.How do I accomplish that?

Mook25
10-25-2006, 11:15 AM
you will normally have a file called style.css which comes with the script. This file would dictate such things as background color, border color, margin padding etc etc. Somewhere within this file you should be able to find the value 'F' and change it's color.

HTH