PHPMagic generates PHP/MySQL web databases and writes all the PHP scripts needed to manage the data. PHPMagic is a program that helps people develop web database applications rapidly and accurately. No programming background is needed to use it. All PHPMagic users need to do is define their database, set some options, click the Generate button, upload to your website and ... that's it!

Go Here and grab a free trial version copy.