+ Reply to Thread
Results 1 to 2 of 2

Thread: I need some help please.
      
   

  1. #1
    csabi_fl is offline Sergeant
    Join Date
    Jul 2006
    Posts
    21

    Default I need some help please.

    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?

  2. #2
    Mook25's Avatar
    Mook25 is offline Brigadier General
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,430

    Wink Re: I need some help please.

    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
    Arcade Ninja - Free Flash Arcade
    FreeGadget4me.Com - Learn how to get free gadgets delivered direct to your door for free

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49