Kwyjibo Posted December 19, 2009 Share Posted December 19, 2009 Hi There, I have a problem with something I need your help for. I have basic php and sql knowledge, but want to do more. I've got a website where users (as they are logged in) can check or uncheck some items. What I want is that as soon as a user checks or unchecks a checkbox, it instantly updates in the database. So without a submit button. When a users comes back he can see what he had checked. I know how to read a database into a form. But then what?? Who can simply tell me step by step what to do.. Here a simply version of my website Thank you so much!! Best regards, Kwyjibo Quote Link to comment https://forums.phpfreaks.com/topic/185698-instant-update-database-on-ckecked-or-unchecked/ Share on other sites More sharing options...
gevensen Posted December 28, 2009 Share Posted December 28, 2009 this is a code that works you should be able to figure out how to adapt it http://www.phpfreaks.com/forums/index.php/topic,281898.0.html my question in that thread was how to update a variable along with the checkbox but the checkbox feature works Quote Link to comment https://forums.phpfreaks.com/topic/185698-instant-update-database-on-ckecked-or-unchecked/#findComment-985018 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.