beermaker74 Posted February 19, 2007 Share Posted February 19, 2007 i have a page that has photos on it and i have a form that has a delete button. I have it directred to another page where the unlinking occursand the database field is updated. So I have a list menu that lists the photo numbers ie delete photo1 etc. This value is the name of the file that needs to be deleted. The problem i have is when they select photo1 to delete it sends that value to the next page but it does not know what field to delete it from. So what I want is when they click on photo1 it sends the name of the file and the named of the field. the field names are like photo1url photo2url etc. So if they select photo1 to delete i need it to send the name photo1.jpg plus photo1url for the field. Hope I am explaing it well enough. I have a hidden field hard coded right now to test it.works perfect so all i need it to dynamically assign this value. thanks Link to comment https://forums.phpfreaks.com/topic/39205-binding-2-values-in-a-list-menu/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.