PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Option 1: saves the image as whatever.jpg and add a field in the table that also holds that value. echo that out within an <img src tag and jobs a goodun.
Option 2: save the image without an extension just as the row_id (ie '12') and read the headers through scripting before outputting the file - nice method for unix boxes.
good point... The image can be uploaded manually into its own directory. I guess the what I need to do first is establish the association code for CityID to $CityID.gif this shouldn't be a problem really hopefully I will be posting a solution to my own problem shortly