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. Link to comment https://forums.phpfreaks.com/topic/59174-solved-installing-my-script/ 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. Link to comment https://forums.phpfreaks.com/topic/59174-solved-installing-my-script/#findComment-293938 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 Link to comment https://forums.phpfreaks.com/topic/59174-solved-installing-my-script/#findComment-293946 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..... Link to comment https://forums.phpfreaks.com/topic/59174-solved-installing-my-script/#findComment-293954 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.