# Flash Checkboxes \> PHP \> MySQL UPDATE

**URL:** <https://forum.kirupa.com/t/flash-checkboxes-php-mysql-update/249617>\
**Category:** programming\
**Created:** [January 20, 2008, 11:41pm UTC](https://forum.kirupa.com/t/flash-checkboxes-php-mysql-update/249617 "2008-01-20T23:41:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![greatbigbrain](https://avatars.discourse-cdn.com/v4/letter/g/3be4f8/32.png) [@greatbigbrain](https://forum.kirupa.com/u/greatbigbrain)\
**Post date:** [January 20, 2008, 11:41pm UTC](https://forum.kirupa.com/t/flash-checkboxes-php-mysql-update/249617/1 "2008-01-20T23:41:39Z")

</div>

Hello problemsolvers!  
So I’ve got some checkboxes in Flash which all have an id tied to them, pulled from a database. All I want to do is loop through the checkboxes, see which ones are checked, and subtract a number from “units” in the database, where the ids match (units=units-1 WHERE id = $\_GET[‘id’] – or something).

My biggest dilemma will be the PHP side of things… but all help is greatly appreciated!

Thank you thank you thank you.

Steve:jail:
