Stuck in the Middle

I need some help getting my Flash based form to MySQL database. I can get the fields necessary from Flash to PHP, (as I normally send an email with this data) and I have figured out how to parse the (manually created) database as XML back to Flash.
I am just stuck in the middle.
Please help, as this project is nearing deadline.
I can post examples if necessary.