Either switch on register_globals in php.ini (security implications however) or use echo $_GET['field'] instead of echo $field. HTH Rich
-----Original Message----- From: Elias Lovén Larsson [mailto:[EMAIL PROTECTED]] Sent: 07 September 2002 11:32 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-WIN] Stupid problem: cannot send variables! I am experiencing major problems with sending variables from forms to PHP scripts. Newbie error perhaps, but I have never ever witnessed anything like this before with PHP! I am running Apache 1.3.23 with PHP 4.2.3 (SAPI) on Windows XP. The URL and the code: http://corner.no-ip.com/me/profiles/test1.php ---------- <HTML> <HEAD> <TITLE>Untitled Document</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> </HEAD> <BODY> <FORM NAME="form1" ACTION="test1.php"> <P> <INPUT NAME="field" TYPE="text" ID="field"> </P> <P> <INPUT TYPE="submit" NAME="Submit" VALUE="Submit"> </P> </FORM> <? echo $field; $justanothervariable = "data"; echo $justanothervariable; ?> </BODY> </HTML> ---------- -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php