What I want to do is when I select data that holds the text New Jersey, an image that is associated with that text of New Jersey comes up. Is there any way to make this simple? I know I can do a database like
| New Jersey | img.com/picture |
inside of a table but to go through and put image links on 1000+ rows might be excess if there is an easier way.
echo $row["name"] ;
returns as New Jersey in text
I want it to return an image I have associated with New Jersey instead of the text New Jersey.
So my database is
New Jersey | info | info | info
Oregon | info | info | info
New Jersey | info | info | info
Vermont | info | info | info
Whenever I return with New Jersey I want it to change to an image of New Jersey.
Edit: Nevermind, I just went and used my superb excel skills to fill out a table with all the links. I'm glad people helped correct the grammar and code blocks though. It really helped me move on from my issue. Instead of learning anything I just did what I do best. Appreciate it!