The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other replace a number with image

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #195787

    I am hoping for a little advice/discussion on the best way to achive replacing a number with an image?

    I am making an ajax call to php file that queries my Db and creates a table and populates with data. One of the fields it shows is good/ok/bad or 1/2/3 I would like to replace this with a green/amber/red image.

    What is the correct way of going about this? I was thinking of using select case in my sql statement that contains the path to the image but is this the best way??

    Or should Jquery do the replacing?


Viewing 1 post (of 1 total)
  • The forum ‘Other’ is closed to new topics and replies.