Jump to content

Creating database tables from PHP


Eiolon

Recommended Posts

I've finished my first PHP script but now I would like to make it so its easy for people to install.  Whenever I install forum software they always have a PHP page where you enter your connection info and it will automatically create the table structures in the database for you.  Are there any tutorials on how to do this?  Thanks for your help.
Link to comment
https://forums.phpfreaks.com/topic/15269-creating-database-tables-from-php/
Share on other sites

There are very few tutorials on this, but [url=http://www.pixel2life.com/tutorials/All/All/?ba=0&a=7&c=1&f=15&c=1&d=1&ss=install]here is a few[/url].

The best way to grasp how to do this, is to take a part an existing installer script, and see how they do it. Thats how I learnt how to create installer scripts.

Also [url=http://www.phpfreaks.com/forums/index.php/topic,100990.msg399220.html#msg399220]this thread[/url] has a basic install script. Creating an install script isn't that hard.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.