Martin Crepaz - 2010-11-02 21:49:56
Hello,
I'm really stuck and need help and hopefully you guys can help me.
I have a list of stores which show services as numbers
Database = Postcode
Table = tcodelists
In this table i have a store id "id" and Services offered "tcode_services"
The data in the "tcode_services" field is listed like 1, 2, 4, 5,
However i need some php code that will split these services down and display the image name from another table
id image
1 300494051201019510.gif
2 300494051201019512.gif
3 300494051201019513.gif
This table is called "icons".
I need this data to display on a php page when a certain store id is called from tcodelists
Please help
Thanks
Martin