Eiolon Posted July 21, 2006 Share Posted July 21, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/15269-creating-database-tables-from-php/ Share on other sites More sharing options...
gluck Posted July 21, 2006 Share Posted July 21, 2006 I don't think I come across any tutorials as such. I think you are need somethink like phpMyAdmin. It shouldn't be an issue. You are just trying to perform DDL operations through the scripts. Quote Link to comment https://forums.phpfreaks.com/topic/15269-creating-database-tables-from-php/#findComment-61729 Share on other sites More sharing options...
wildteen88 Posted July 21, 2006 Share Posted July 21, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/15269-creating-database-tables-from-php/#findComment-61733 Share on other sites More sharing options...
Eiolon Posted July 21, 2006 Author Share Posted July 21, 2006 Thanks, this seems to have done the job. Quote Link to comment https://forums.phpfreaks.com/topic/15269-creating-database-tables-from-php/#findComment-61826 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.