12-30-2009, 12:07 PM
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.
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\" />"