Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Calling PHP Experts

Thread Tools
 
Search this Thread
 
Old 10 February 2004, 07:38 PM
  #1  
chump
Scooby Regular
Thread Starter
 
chump's Avatar
 
Join Date: Feb 2004
Posts: 266
Likes: 0
Received 0 Likes on 0 Posts
Default Calling PHP Experts

Hi all,

I've created a series of PHP pages that gathers user input, stores it in MySQL database and then confirms all the entries on a final page by pulling the data out of the database and formats it using tables and such....

Now I'm trying to find a way to put all of information on the final page into an HTML file that is dynamically created and named depending on the job number. kind of a hard copy of the final confirmation page which can then be stored and referenced at a later date...

I've found this code which might be a potential:

<?
$output = "<html><b><u>Test</u></b></html>";
$myfile = "test.html";
if($file=fopen($myfile, "w")) { //open file for writing
fwrite($file, $output); //write to file
}

?>

But I'm not sure how I parse my dynamic data (stuff from the Mysql Database) into the $output = "" statement.

Can anyone suggest anyways that I might be able to create this page?

I hope I've explaned myself properly - if not please ask...

Chump
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM



Quick Reply: Calling PHP Experts



All times are GMT +1. The time now is 03:06 PM.