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"> Institution Name:<br> <input type="text" name="2_institution"><br> Contact:<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 ('$2_institution','$2_contact','')"); ?> 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: http://thewebsite/page2.php?2_institution=myinstitution&2_contact=jen The only other code on the page is that which connects to the database and to mysql. Incidentally, it's the one on Unix that's not working.... I'm desperate... please help! Thank you very much. Jen Swofford [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php