This is simple. echo "<html>"; echo "<body>"; echo "Hello World"; echo "</body>"; echo "</html>";
There are many ways to do what you want to do. It's at the core of PHP. -Brent ----- Original Message ----- From: "Christopher Weaver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 30, 2004 6:54 PM Subject: [PHP] Spawning new pages > I want one of my functions to create and open a new page. I know how to > call an existing page from PHP ala form action, but in this case I want to > dynamically create and then display several pages. I'm thinking that > perhaps I should assemble some HTML, write it out to a files, then open the > HTML file. > > Is this the best way of going about it? > > Can it be done without actually writing the HTML to the disk? > > How do I actually open the page once it's been created? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php