Jump to content

Instant update Database on ckecked or unchecked


Kwyjibo

Recommended Posts

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

  • 2 weeks later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.