I have a problem. I am working on two separate sites on two separate
servers (one is Linux and one is Unix) and I am doing virtually the same
thing with each, yet only one of them works. What can I be doing wrong?
It is a simple form. I simply want to put information into a database.
This is what I'm doing, simply:
This is in page1.php:
<form method="get" action="page2.php">
<input type="text" name="2_institution"><br>
<input type="text" name="2_contact"><br>
<input type="submit" value="Continue >>">
And this is in page2.php:
mysql_query("INSERT INTO survey (2_institution,2_contact,ID) VALUES
This is what's added into the database: in column 2_institution,
"$2_institution" is added, and in column 2_contact, nothing at all is added.
The URL looks right when I go from page1.php to page2.php:
The only other code on the page is that which connects to the database and
Incidentally, it's the one on Unix that's not working....
I'm desperate... please help! Thank you very much.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php