Stupid problem: cannot send variables!
| From: | Elias Lov�n Larsson | Date: | Sat, 07 Sep 2002 18:31:52 +0000 |
| Subject: | Stupid problem: cannot send variables! | ||
| Groups: | php.install php.windows | ||
| Request: | Send a blank email to php-install+get-8361@lists.php.net to get a copy of this message | ||
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>
----------