Jump to content


Photo

Form & Database


  • Please log in to reply
2 replies to this topic

#1 kaspm

kaspm
  • Members
  • PipPipPip
  • Advanced Member
  • 39 posts

Posted 14 March 2006 - 07:45 PM

Hi I have a multipage form that I want the fields put on a database, what would be the best way to do that?
Should I have it upload each page or just use "hidden" fields and upload them all at once.

#2 php_b34st

php_b34st
  • Members
  • PipPipPip
  • Advanced Member
  • 168 posts

Posted 14 March 2006 - 07:58 PM

It would be best to insert all the data into the db at the same time (just in case they do not complete the full form) this can be done using sessions and cookies rather than using hidden fields.

#3 kaspm

kaspm
  • Members
  • PipPipPip
  • Advanced Member
  • 39 posts

Posted 14 March 2006 - 08:03 PM

Could you explain how to use the sessions and cookies, im not that good at PHP so I could use as much info as possible.
Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users