PDA

View Full Version : Connecting to an Existing Database


dennisu
11-09-2007, 04:54 PM
Hello,
I just recently purchased PHPMagic and am having trouble figuring out how to connect to an existing database when starting a new project. Is this even possible with PHPMagic or do I have to purchase another module? Thank you, Dennis

xacto
11-09-2007, 06:12 PM
Hi,

It is good you already have a db created and ready to use. Now in your project file enter your server name, username, passwd and the database name where the tables you create will be added.

After you generate your code, upload and run the setup.php file. See the help file in the app for more info on this.

clifford
11-09-2007, 06:29 PM
Just incase you want to build a frontend for an existing db. You can download a free wizard that extracts your db tables and fields and creates a phpmagic project file for you. I think there is a paragraph about it on the homepage. mysql2phpmagic (download the script version) hth ;)