Northern Flame Posted July 9, 2007 Share Posted July 9, 2007 I have created a script for a friend who has 49 URL's. Each of his websites is going to require a table in his MySQL database. Instead of having me or him going into the MySQL database and manually creating the tables, columns, and rows for each URL, How can I make it so that he just enters what he wants the table to be named, and it will automatically do it for him? I have seen this done before, such as on phpBB and other things. So basically, when he uploads the .zip file and uncompresses it, I want him to go to the install.php file, insert a username, password, and MySQL table name. When he hits "Submit", I want it to automatically create a table filled with columns and rows. Can anyone let me know how to do this? I would really appreciate it! Thanks for reading. Quote Link to comment Share on other sites More sharing options...
trq Posted July 9, 2007 Share Posted July 9, 2007 Do you know how to query a database? This should be pretty straight forward. Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted July 9, 2007 Author Share Posted July 9, 2007 Im kind of new to databases, but I will look into that, thanks for the help Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted July 9, 2007 Author Share Posted July 9, 2007 Alright I think I figured it out..... Quote Link to comment 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.