lukemonster123 Posted July 15, 2009 Share Posted July 15, 2009 I'm trying to build a page in Dreamweaver where the user can search for records from one table and then choose which results he wants to insert into a second table. I'm trying to get it so that the user can check a checkbox in each record that he wants to insert into the second table. I can get the search and results part working fine, but I can't figure out how to accomplish the second part of my goal--the ability for the user to check off which records he wants to insert, then press submit and have those results uploaded. I started out by including a checkbox in the repeat region area, but it doesn't have the intended result. Instead, only the very last result of any search gets inserted into the second table--even if that result isn't checked. What should I do to fix this problem and accomplish what I'm trying to do? Thanks!! Quote Link to comment https://forums.phpfreaks.com/topic/166066-inserting-selected-search-results-into-another-table/ Share on other sites More sharing options...
HPWebSolutions Posted July 18, 2009 Share Posted July 18, 2009 Hi Luke, Can you please post the HTML and PHP code for your website's form? I suspect it might have to do with the name your are giving to each field. Is the input name being duplicated for each field? Also, please post the code snippet that is inserting into the second database. Do you have a live website where I can see this in action? Quote Link to comment https://forums.phpfreaks.com/topic/166066-inserting-selected-search-results-into-another-table/#findComment-877482 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.