Re: Question from Rookie

From: Date: Tue, 27 Mar 2001 00:59:59 +0000
Subject: Re: Question from Rookie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45677@lists.php.net to get a copy of this message
On Tue, 27 Mar 2001 07:01, Rob McMahan, Jr. wrote: > Hi All, > > Quick rookie question for you...... > > I have a PHP page where I'm manipulated data and re-organized the data > in table. Now I want to write out the page containing the table data > with the HTML file extension. How would I go about writing out an HTML > file from within a PHP Page. > > Thank you, > Rob McMahan, Jr. > Interlink Group Inc. > rob.mcmahan@ilg.com If you mean write to disk, you'll need the Filesystem functions; fopen, fwrite and fclose probably. You'll need to have the data you want to write out stored in an array, and you'll need to be aware of permission issues when trying to create files with fopen. -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#45677) next »