Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[HELP] HTML Form/ Priority
#4
You can just put that IF/ELSEIF block on the place of the "$row['priority']" line... but instead of checking $priority, you check $row['priority']
Or a way I would suggest more is, save the images as "priority_1.png" _2/_3....

And then in the $row line you call this.

PHP Code:
echo "<img src=\"images/priority_".$row['priority'].".png\" alt=\"Priority\" title=\"Priority\" />" 
Reply


Messages In This Thread
[HELP] HTML Form/ Priority - by Dutchcoffee - 12-30-2009, 11:21 AM
RE: [HELP] HTML Form/ Priority - by Gaijin - 12-30-2009, 11:37 AM
RE: [HELP] HTML Form/ Priority - by Dutchcoffee - 12-30-2009, 11:58 AM
RE: [HELP] HTML Form/ Priority - by Gaijin - 12-30-2009, 12:07 PM
RE: [HELP] HTML Form/ Priority - by Dutchcoffee - 12-30-2009, 12:13 PM
RE: [HELP] HTML Form/ Priority - by manipulate - 01-02-2010, 02:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP email input form - having trouble getting the form to work... abayindi 4 2,458 03-19-2012, 10:02 AM
Last Post: RainbowDashFTW
  [NEED HELP] PHP Form post, get, echo Đενɨаηсε™ 5 1,867 02-06-2012, 01:16 PM
Last Post: ★Cooldude★
  How to make a form. HB Virus 10 3,166 12-30-2011, 08:03 PM
Last Post: BreShiE
  PHP form creator? Sam 7 2,349 07-13-2011, 04:53 AM
Last Post: Skyset
  HTML&PHP Games. flAmingw0rm 25 3,661 06-04-2011, 07:23 AM
Last Post: Strafeness

Forum Jump:


Users browsing this thread: 1 Guest(s)