Topic: Applying ICON imge based off condition (Read 1754 times)
OMG!I am geek
Posts: 55
366 credits Members referred : 0
« on: Aug 01, 2006, 08:39:41 pm »
Hi All
Using Olaf's Access_User class, which works great, and I am fairly new to PHP overall. My question is, that I have setup a MySQL database for users and groups and would like to know how to add an small ICON image next to a field based off a value for a user field. Does this make sense? So if a user enters a number 1 and the field should be a 2, I want a little checkmark to appear to the right or left of that field indicating that it is flagged and incorrect
Also would like to change the background color of the field....but do not know how
Thanks gman
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
OMG!I am geek
Posts: 55
366 credits Members referred : 0
« Reply #2 on: Aug 01, 2006, 09:08:00 pm »
Thanks Nikolas
I thought I posted in the correct category...I appreciate you correcting this so quickly ;-)
I look forward to learning a lot from this forum...just BTW Olaf has been great to work with and I am sure the other posters, as well as yourself, will be just as great to work with
Take care gman
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #3 on: Aug 01, 2006, 09:20:09 pm »
I think you are in the right place to learn
Olaf is a great person to work with, and he is very capable programmer.
OMG!I am geek
Posts: 55
366 credits Members referred : 0
« Reply #5 on: Aug 01, 2006, 11:01:34 pm »
Olaf you strike again ...this is what I am looking for and I will see if I can add in the images after I review the code...unless you already have a snippet to cover this ;-)
Thanks again for the help
gman
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
Olaf you strike again ...this is what I am looking for and I will see if I can add in the images after I review the code...unless you already have a snippet to cover this ;-)
Thanks again for the help
gman
No but the function is nearly the same like for the background color...
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3506