Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
save form contents as seperate files? Help Quick...
Old 04-18-2007, 12:19 PM save form contents as seperate files? Help Quick...
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
hi,
i have a form im working on http://dansgalaxy.co.uk/soci/questionnaire.php and i want a script which can save the things in seperate docs...

i ok dont know enough to do it,
i would think that the answers from the questions would be made $value by
$answer1 = $_POST['car'];

for each individual answer

then i would like to embed it in some sort of table

like

$answers = "<table><tr><td>First question</td><td>$answer1</td></tr> etc etc for each question

but then i would like to save $answers as a .html or .php file

i would like it to make the names of the fiels something like

answer{time of processing}.php with the time in so it doesnt over write the last set of answers.

i need the answer fast i think it should be simple. and i would (at a guess) be able to do the rest of the script so that all the answers in a template = $answers but i dont know how to save that as a file.

i need the answer fast coz i have to get it all done and answerd and graphs done etc by tommorrow morning! thanks

Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
 
Register now for full access!
Old 04-18-2007, 06:15 PM Re: save form contents as seperate files? Help Quick...
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
... i rarely get to say this! i did it all by myself... XD...

Mods feel free to remove this usless thread!!
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 04-18-2007, 06:15 PM Re: save form contents as seperate files? Help Quick...
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
Then again most people probally think all my threadsa are useles... XD
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 04-18-2007, 08:36 PM Re: save form contents as seperate files? Help Quick...
feraira's Avatar
BeTheBand!

Posts: 350
Trades: 0
Well, how about you tell us HOW you did it incase any of us want to know, as reference see? We all help each other.
feraira is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to save form contents as seperate files? Help Quick...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31427 seconds with 12 queries