Re: Simple Unidentified Variable

From: Date: Wed, 08 May 2002 05:29:19 +0000
Subject: Re: Simple Unidentified Variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96531@lists.php.net to get a copy of this message
in PHP 4.2.3 $a_variable is not equal to $HTTP_POST_VARS["a_variable"] until explicitly assigned. so just use the latter to get the value of the variable That's what i know. > Hi there, > > I am very new to PHP and when doing the tutorial on the mysql site, ... > > Values displayed with a simple echo $... from a html form using "get" > or "post" give the error > > Notice: Undefined variable: "value" in .....\welcome.php on line 2 > > even though they have been entered in the html form and they are in > $HTTP_POST_VARS. > > Any help would be appreciated. > PHP 4.2.3 > > Jeremy Burton > Senior Consultant > PERTH TOURIST LOUNGE > > Level 2 Carillon City > Murray Street, Perth > Ph: +618 9229 2238 > Fax: +618 9229 2220 > Email: wombat@bluetravel.com.au.co.jp > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#96531) next »