Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQl database

Status
Not open for further replies.

roostar

Technical User
Oct 14, 2003
3
US
Is it possible for a phpforum board to create and Mysql database automaticly if the server was configured to do so?
 
So you know that for a phpbb forum board to have different posts on the same server they have to be under different databases. Well i would like to know if the php could be programmed to create separate databases so it could automatically create a new forum board under the same server. Is it possible?
 
So you’re saying that there is a way for the php board to automatically created a new database every time it is asked to. I know This is also only possible if the server is configured to do so i think.
 
The php manual (under the mysql api) saysd you can use mysql_create_db but you should issue an SQL command create database.

I would question why you want to do this, your explination about phpbb. If you want to create a completly new and seperate insall of phpbb you will need a new database, if you just want a new forum you can create that in an existing install.

If you had a seperate db for each forum you would have loads and loads and loads...

good luck

Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top