# Movieclip supposed to update mySQL database

**URL:** <https://forum.kirupa.com/t/movieclip-supposed-to-update-mysql-database/177649>\
**Category:** Uncategorized\
**Created:** [February 3, 2006, 6:49pm UTC](https://forum.kirupa.com/t/movieclip-supposed-to-update-mysql-database/177649 "2006-02-03T18:49:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![killerwhale65](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@killerwhale65](https://forum.kirupa.com/u/killerwhale65)\
**Post date:** [February 3, 2006, 6:49pm UTC](https://forum.kirupa.com/t/movieclip-supposed-to-update-mysql-database/177649/1 "2006-02-03T18:49:28Z")

</div>

hi,

i am having a flash file that shows an advertisment.

Each time 2 products are visible, along with their respective image and price.

To mainain the add i have connected it with a mySQL database via PHP.  
each product has its own row, identified by id=1 or id=2.

Everything works fine, exept for the fact that i seem unable to update the second product. (only the second, the first works fine!)

to update the add i have created a little form inside an mc. the data for the second product is filled into the form correctly, but when i press enter it does not update the mySQL.

I really do not understand this, since it is the same for both products, except for the id.

But why does this not work? i have checked the id’s and they are correct.

Honestly i do not understand this, please help!

thanks!
