Log in

View Full Version : Help Generating PHP Pages From A PHP Page



Bloodshot
02-25-2009, 09:15 PM
Hi, Everyone.

I have been searching the web everywhere where I can find some kind of information on a php page creating another php page.

Let me explain:

I have a page where you can enter a company name, then once you create a company, I want it to create its own PHP page, which includes PHP scripts, javascript and MYSQL queries not just HTML.

I basically want a PHP template generated with inserted and update Variable data and Queries may it be needed.

This is a new topic area for me, so I am kind of lost, but I am very familiar with PHP, so anything that can help would be great.

Thanks.

Nile
02-25-2009, 10:43 PM
Do you want each company to have a folder? I can whip this up.. gimme a little more info though.

Bloodshot
02-26-2009, 05:39 PM
Yes I currently make a separate folder for each company, and in there I would like a index.php file which will communicate with the database to retrieve there information.

Twey
02-26-2009, 10:14 PM
Just write it. See: fopen (http://www.php.net/fopen)(), fwrite (http://www.php.net/fwrite)().