Qw M
asked on
Ckeck box - update value in mysql database
Hi,
I have a php page with 3 checkboxes:
<input type="checkbox" name="ID216" value="yes">test1<br>
<input type="checkbox" name="ID102" value="yes">test2<br>
<input type="checkbox" name="ID079" value="yes">test3<br>
and a table named table1 with 2 columns: IDcheck and Value
IDcheck Value
ID216 no
ID102 no
ID079 no
I need a javascript or jquery script that will update the table when I check the checkboxes or to run a php page that will update the table!
Thank you,
I have a php page with 3 checkboxes:
<input type="checkbox" name="ID216" value="yes">test1<br>
<input type="checkbox" name="ID102" value="yes">test2<br>
<input type="checkbox" name="ID079" value="yes">test3<br>
and a table named table1 with 2 columns: IDcheck and Value
IDcheck Value
ID216 no
ID102 no
ID079 no
I need a javascript or jquery script that will update the table when I check the checkboxes or to run a php page that will update the table!
Thank you,
ASKER
I want to update the table upon every checkbox change!
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thank you very much!
won;t u rather have a Update button, which will update all checkboxes at once?