Complex project

I need to build a custom food menu, I want to use Flash to display, add, edit and save the data through php and this data will come from a xml file. The xml file will be the data base.
Can you please show me how this is done?