Re: variables not being passed

From: Date: Wed, 21 Jun 2000 11:32:25 +0000
Subject: Re: variables not being passed
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-560@lists.php.net to get a copy of this message
*********** REPLY SEPARATOR *********** On 21-06-2000 at 10:00 Adrian Teasdale wrote: >Hi all > >I am having a weird problem with PHP in that it is not passing variables >from page to page, either in a form or via URL. > >Here is an example of a test script I've run: > ><form method="post" action="testvariables.php"> >// this file passes posts to itself > >Please type your name here:<br> ><input type="text" name="username"<br><br> ><input type="submit" value="Enter Name"> ></form> ><?php >echo $username; >?> try echo $HTTP_POST_VARS["username"] -- Venlig Hilsen Nicolay Høy nicolay@hoey.dk http://www.hoey.dk/

« previous php.windows (#560) next »