| I imagine the popup function is some sort of javascript function, so when you're generating the images/onclick code, just put the database row id in as an additional parameter of the javascript function. Then you can do an SQL 'UPDATE something = newthing IN table WHERE ID = id'
__________________ Stop intellectual property from infringing on me |