Replacing table column with images
Replacing table column with images
Fogest
Posts: 7Questions: 1Answers: 0
In the database I'm reading from, I have a "status" column. Essentially it is storing a, open and closed option for a row. I have an image I want to use for the open status and for the closed status.
Right now open = 1 in the database and closed = 2.
I'm using a slightly modified version of the server scripting for php (http://datatables.net/development/server-side/php_mysql)
I'm wondering how I would incorporate such a change when I'm using code like the above link shows.
And the way you explain to me how to do this; would it affect searching in anyway? Because I will have another column that is item names, and in the column it actually displays the items image. Would the searching of the item be affected then?
Right now open = 1 in the database and closed = 2.
I'm using a slightly modified version of the server scripting for php (http://datatables.net/development/server-side/php_mysql)
I'm wondering how I would incorporate such a change when I'm using code like the above link shows.
And the way you explain to me how to do this; would it affect searching in anyway? Because I will have another column that is item names, and in the column it actually displays the items image. Would the searching of the item be affected then?
This discussion has been closed.