RE: [PHP] html input and php (newbie)

From: Date: Tue, 24 Sep 2002 19:38:33 +0000
Subject: RE: [PHP] html input and php (newbie)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117466@lists.php.net to get a copy of this message
Anna Gyor <mailto:bali1a@freemail.hu> scribbled; > > Hi, > > I just began to learn php and I have te following code. How can I get > the input field value in the php script? Because my script doesn't > work. $UserName is always an empty string. > > <?php > if ($submit == "click"){ > echo "Hello, $UserName"; > } [...] > Assuming register_globals=off, use $_POST['UserName'] instead -jesse

« previous php.general (#117466) next »