Re: Creating an Entire .html page with PHP
| From: | Angus Mann | Date: | Tue, 26 Jan 2010 01:12:46 +0000 |
| Subject: | Re: Creating an Entire .html page with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301435@lists.php.net to get a copy of this message | ||
----- Original Message ----- From: <dealtek@gmail.com>
To: "PHP-General" <php-general@lists.php.net>
Sent: Tuesday, January 26, 2010 11:00 AM
Subject: [PHP] Creating an Entire .html page with PHP
Hi Folks, I would like to create an entire .html page gathered from database content mixed with html etc. and be able to save the page... like: --- save all this pre made content as .html page.... <html> <head> ... stuff </head> <body> ... stuff ... stuff with database query results... ... stuff </body> </html> Q: Is there a function that might help with saving the whole content as .html page? Thanks, dealtek@gmail.com [db-10]Not really...no. The fact that you're asking this question makes me think you should start with a less ambitious goal than you describe. Terms like "saving the whole content as a .html page" and "content mixed with html" are pretty meaningless, I'm afraid. Try generating a few ordinary pages before you throw a database into the mix.