corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » PHP Experts


New Topic

New Poll
  <<  1    2  >> Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author PHP Experts
Chump
Member

Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
10th Feb 04 at 19:57   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 20:00   View User's Profile U2U Member Reply With Quote

dave17
Member

Registered: 3rd Sep 02
Location: Greater London
User status: Offline
10th Feb 04 at 20:01   View User's Profile U2U Member Reply With Quote

Chump
Member

Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
10th Feb 04 at 20:02   View User's Profile U2U Member Reply With Quote

whats funny?
vibrio
Banned

Registered: 28th Feb 01
Location: POAH
User status: Offline
10th Feb 04 at 20:03   View User's Profile U2U Member Reply With Quote

nothing's funny CHUMP
dave17
Member

Registered: 3rd Sep 02
Location: Greater London
User status: Offline
10th Feb 04 at 20:04   View User's Profile U2U Member Reply With Quote

Chump
Member

Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
10th Feb 04 at 20:05   View User's Profile U2U Member Reply With Quote

ok so whats funny except my name
vibrio
Banned

Registered: 28th Feb 01
Location: POAH
User status: Offline
10th Feb 04 at 20:05   View User's Profile U2U Member Reply With Quote

Mr CHUMP are "you of" or "just a" ?
Chump
Member

Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
10th Feb 04 at 20:07   View User's Profile U2U Member Reply With Quote

no comment.....
vibrio
Banned

Registered: 28th Feb 01
Location: POAH
User status: Offline
10th Feb 04 at 20:08   View User's Profile U2U Member Reply With Quote

I suspect you are not of POAH
Chump
Member

Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
10th Feb 04 at 20:11   View User's Profile U2U Member Reply With Quote

no i am of CHUMP
Joff
Member

Registered: 17th Oct 00
Location: Cambridgeshire
User status: Offline
10th Feb 04 at 20:12   View User's Profile U2U Member Reply With Quote

I feel this is a start of something beautiful.
Chump
Member

Registered: 1st Feb 04
Location: Sharnbrook
User status: Offline
10th Feb 04 at 20:14   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 20:15   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 20:16   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 20:19   View User's Profile U2U Member Reply With Quote

quote:
fcuking sick


You are clearly not of CHUMP.
vibrio
Banned

Registered: 28th Feb 01
Location: POAH
User status: Offline
10th Feb 04 at 20:49   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 20:55   View User's Profile U2U Member Reply With Quote

People that are of POAH do not understand the power of CHUMP.
vibrio
Banned

Registered: 28th Feb 01
Location: POAH
User status: Offline
10th Feb 04 at 20:56   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 20:57   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 20:57   View User's Profile U2U Member Reply With Quote

www.phpbuilder.com

wrong forum m8
vibrio
Banned

Registered: 28th Feb 01
Location: POAH
User status: Offline
10th Feb 04 at 21:00   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 21:04   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 21:10   View User's Profile U2U Member Reply With Quote

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
10th Feb 04 at 21:13   View User's Profile U2U Member Reply With Quote

so we agree then.

  <<  1    2  >>
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
neon fuse dig dave2811 Help Zone, Modification and ICE Advice 7 1443
17th Feb 03 at 09:10
by Corsa^Dan
 
Mig members must be soooo cool :D Drew General Chat 24 1862
26th Feb 03 at 21:54
by Mikeboy
 
Wiring EW & EM Cabling to door multi-plug? Mav 3000 Help Zone, Modification and ICE Advice 10 2148
3rd Apr 03 at 22:32
by DJ_Voodoo
 
new idea 4 corsasport? STEvieXE General Chat 9 1333
17th Apr 03 at 23:00
by Adam
 
i got flashed goin towards a speed camera!!!!!!! UPDATE! :( Foz General Chat 64 3715
21st May 03 at 17:39
by Sam
 

Corsa Sport » Message Board » Off Day » Geek Day » PHP Experts 28 database queries in 0.2014449 seconds