Jump to content

Best way to create serverside email with multiple fields?


TEC Rhyno

Recommended Posts

Hi Guys,

 

I think this is an easy one, however I don't want to go off and start building it in the wrong way...

 

I want to have a quotation form on my company website with a multi page questionaire, answers to the questions will dictate the next set of questions. Once all the data has been collected it will be emailed to me to quote.

The question is:

Should I use a database to do this, or just get/post the info along as i compile it untill I have the sufficient info at which time it will email to me.

 

Thanks for your help.

 

Ryan

I would suggest using $_SESSION as it is faster than sending data to DB and it is safer.

collect them in the session variable and at the end insert them in DB or in a text file to have a copy on the server and email them to your email address.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.