
07-19-2007
|
| Administrator
Join Date: Jun 2007
Posts: 3,729
BRL$: 30,457.10 Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 402 | | Can't get fields from 2 forms into 1 MySQL table OK, here's whats going on...I have a survey set up using php. There are 3 pages to it. On the 1st page they need to enter only their password (survey_protect.php). If they pass that test they continue on. The 2nd page is the short survey along with fields for name, address, etc. (survey.php). The 3rd page is a thank you (thank.php). This page also contains the code to send me an email to let me know a survey has been completed and the code to insert the data into a MySQL table.Everything works great except the password field (on the 1st form). The email has a blank where the password should be and the table column has a "0".Is there a way to insert data from 2 forms into a table (on the same row) or will I need to send to 2 tables and then join them? To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | | | |