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
Eat, Sleep, Code

Posts: 6,173
Name: Dan
Location: Swindon
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
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
When You Register, These Ads Go Away!
Old 04-18-2007, 06:15 PM Re: save form contents as seperate files? Help Quick...
dansgalaxy's Avatar
Eat, Sleep, Code

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

Mods feel free to remove this usless thread!!
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
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
Eat, Sleep, Code

Posts: 6,173
Name: Dan
Location: Swindon
Then again most people probally think all my threadsa are useles... XD
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
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: 313
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.
__________________
www.alldrumtabs.com
feraira is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to save form contents as seperate files? Help Quick...
 

Thread Tools

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

vB 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.12188 seconds with 12 queries