Are you having problems retrieving the information from your db? Adding a flash movie to a php page should be no different than adding a flash movie to an html page. The exact same code used for one should work for the other. Do you have a static page where the flash is working and a php page where it is not? If so please post back with links to the live versions of these pages and copies of the pages in a zip archive so that I can take a look.
In general php pages just allow you to make use of php script on the page, it does not change how the page handles content like flash.