seadog Posted May 1, 2008 Share Posted May 1, 2008 In the project im working on i want the user to select where they are from based off a flag image. Im quite lost on how this will work. Do i have to put the flag images into the database? Quote Link to comment Share on other sites More sharing options...
mwasif Posted May 1, 2008 Share Posted May 1, 2008 There are 3 approaches to this You can save the images in database and retrieve them when needed. Save them on the disk and save its path in database. Save the images at a specific location on disk with a specific naming convention e.g. for USA us.jpg, for UK uk.jpg, for Pakistan .pk. And hard code the path in script and get the 2 digit country code from countries table and display the images Quote Link to comment Share on other sites More sharing options...
seadog Posted May 1, 2008 Author Share Posted May 1, 2008 thank you very much Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.