Hi, i'm totally newby here and with php/mysql too.

I have a form with some textboxes and checkboxes.
The form action is: $_SERVER . '?changes=1'

I want to give a possibility for the user, to change the values in them.
So submit button when the submit button is clicked the php code will generate the same page with the same form, but before echo-ing the form element, there is a mysql UPDATE process which changes the database values, to the new values in the form.

My question is, if is it possible to send the new checkbox values (on/off) simply with clicking on one of the checkboxes, without the using of submit button?

Thanks

Recommended Answers

All 2 Replies

Yep, Ajax. Its amazing how often this is asked in the PHP forum, maybe there should be a sticky...

okay
thx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.