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
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.