HBC Posted January 26, 2007 Share Posted January 26, 2007 So, here's the deal.. I have a page that parses an XML feed to html.. But I don't want to use all of the data there, so I want to have a checkbox on each row that I can check if I want the information on that row to be inserted to a mysql database... And that's the problem, how do I do this? I've tried a lot of things, but none of them work.. If I choose 3 checkboxes from all over the page, the insert query on the action-page does show only 3 queries, but not the ones I chose, but the first 3.. And that's no surprise, since I don't know how to ID the checkboxes with the data on the rows.. I also tried this with javascript: if a checkbox is checked, the hidden inputs on that row (all ID'd with the same ID) change from disabled to not disabled, and, therefore only the not disabled inputs would be considered on the foreach-loop on the action page... but I didn't get that to work either ::)So that's why I'm here, to get some help on this.. should'nt be too hard, but I just can't seem to get it to work... I'll post parts of the code if needed..Thanks 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.