Anyway to do this?
Posted: Mon Aug 04, 2003 4:59 pm
Hey, I have a question
Is there anyway that when somebody insert a query into the mySQL tables, a directory is created and creates a default template and the file is named index.php, characters.php ect.????
Example:
User1 enters the following information:
Name: Cool Game
Then, the PHP creates a directory based on the name field.. Which then it will create http://dsa.com/Cool Game/
Then, in /Cool Game/, there is index.php, characters.php ect. Which has a default template..
------------------------------------------------------------
2nd question. Is there anyway when a person inserts a query, it creats edits a specific file?
Example:
File To Edit (Drop Down): characters page, index page
Game Name (Text Box): COol Game
Author (Text Box): User1
Characters (Text Box): Bah, Sah, Rah
Then there are variables on index.php, ect. that contains curtain variables that displays the records in the mySQL table??
Sorry, but i couldnt get any tutorials on this
Is there anyway that when somebody insert a query into the mySQL tables, a directory is created and creates a default template and the file is named index.php, characters.php ect.????
Example:
User1 enters the following information:
Name: Cool Game
Then, the PHP creates a directory based on the name field.. Which then it will create http://dsa.com/Cool Game/
Then, in /Cool Game/, there is index.php, characters.php ect. Which has a default template..
------------------------------------------------------------
2nd question. Is there anyway when a person inserts a query, it creats edits a specific file?
Example:
File To Edit (Drop Down): characters page, index page
Game Name (Text Box): COol Game
Author (Text Box): User1
Characters (Text Box): Bah, Sah, Rah
Then there are variables on index.php, ect. that contains curtain variables that displays the records in the mySQL table??
Sorry, but i couldnt get any tutorials on this