How do I combine these two PHP scripts?

GregB

New member
I'm learning PHP and MySQL still, and I'm curious how I'd go about combining these two scripts. The first script is a sign up, and the second is for a questionnaire. Basically, I want the questionnaire to be part of the sign up requirements. I want it to store it in my database the same way it does in the current questionnaire script as well.

But I also want it to show up exactly as it shows up IN the questionnaire script inside of the sign up script. Could I somehow do an include... or? I don't know. I'm new at this. ): Any help with help! Thanks!


If you have any other questions about the code just let me know.


Here are the pastebins of the php files:
http://pastebin.com/pTXGSMT9 - Questionnaire

http://pastebin.com/28jZhYyY - Sign up
You wouldn't be able to write data to two separate tables?
 
Back
Top