Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
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
|
vibrio
Banned
Registered: 28th Feb 01
Location: POAH
User status: Offline
|
|
dave17
Member
Registered: 3rd Sep 02
Location: Greater London
User status: Offline
|
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
whats funny?
|
vibrio
Banned
Registered: 28th Feb 01
Location: POAH
User status: Offline
|
nothing's funny CHUMP
|
dave17
Member
Registered: 3rd Sep 02
Location: Greater London
User status: Offline
|
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
ok so whats funny except my name
|
vibrio
Banned
Registered: 28th Feb 01
Location: POAH
User status: Offline
|
Mr CHUMP are "you of" or "just a" ?
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
no comment.....
|
vibrio
Banned
Registered: 28th Feb 01
Location: POAH
User status: Offline
|
I suspect you are not of POAH
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
no i am of CHUMP
|
Joff
Member
Registered: 17th Oct 00
Location: Cambridgeshire
User status: Offline
|
I feel this is a start of something beautiful.
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
i feel that we should go back to the question I first asked if possible.
CHUMP
|
someone
Member
Registered: 13th Aug 02
Location: Surrey
User status: Offline
|
surely you just read the information you want of your db and store it as variables and then place the variables in the output
|
vibrio
Banned
Registered: 28th Feb 01
Location: POAH
User status: Offline
|
quote: Originally posted by Chump
i feel that we should go back to the bedroom and make gay love.
CHUMP
fucking sick
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
quote: fcuking sick
You are clearly not of CHUMP.
|
vibrio
Banned
Registered: 28th Feb 01
Location: POAH
User status: Offline
|
quote: Originally posted by Chump
quote: fcuking sick
You are clearly not of CHUMP.
this is somthing I always knew. I am of POAH
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
People that are of POAH do not understand the power of CHUMP.
|
vibrio
Banned
Registered: 28th Feb 01
Location: POAH
User status: Offline
|
quote: Originally posted by Chump
People that are of POAH do not understand the power of CHUMP.
no I'm afraid we of POAH invented CHUMP for you lot to feel wanted
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
I'm afraid that POAH is the past. CHUMP is the future. Step into the light....
|
John_C
Member
Registered: 5th Mar 03
Location: South east, Bromley
User status: Offline
|
www.phpbuilder.com
wrong forum m8
|
vibrio
Banned
Registered: 28th Feb 01
Location: POAH
User status: Offline
|
quote: Originally posted by Chump
I'm afraid that POAH is the past. CHUMP is the future. Step into the light....
I am POAH, I am the light, you are the shadow
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
You cannot be the light until you understand it's true purpose. CHUMP show's you the way.....
|
vibrio
Banned
Registered: 28th Feb 01
Location: POAH
User status: Offline
|
quote: Originally posted by Chump
You cannot be the light until you understand it's true purpose. CHUMP show's you the way.....
it's true purpose is the truth. if you were of POAH you would have known this. you are clearly without light. you are dark. you are CHUMP.
|
Chump
Member
Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
|
so we agree then.
|