Kemik Posted July 4, 2007 Share Posted July 4, 2007 Hello, I have a database with the following information in. User ID, Username, Country, City. I have created a page which lists all of the users and their cities and would like to add the flag of the user's country next to their name. How would I do this? I understand I could go with if statements (e.g. if $country = eng display englishflag.gif elseif $country = scot display scotishflag.gif) however with so many countries this would take forever and far too much code. Is there any easier way of doing this? Thanks. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.