Re: Form Variables not getting passed || Apache, MySql, Win 2k Setup

From: Date: Thu, 30 Jan 2003 05:34:40 +0000
Subject: Re: Form Variables not getting passed || Apache, MySql, Win 2k Setup
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-133587@lists.php.net to get a copy of this message
Hmmmm......... Sounds like "resorting" to extract($REQUEST) might have a downside? Otherwise, I'll use it for now. Thanks, --Noah ----- Original Message ----- From: "Ernest E Vogelsinger" <ernest@vogelsinger.at> To: "Noah" <noah@newminddesign.com> Cc: "Philip Olson" <philip@cornado.com>; <php-general@lists.php.net> Sent: Wednesday, January 29, 2003 2:58 PM Subject: Re: [PHP] Form Variables not getting passed || Apache, MySql, Win 2k Setup > At 02:55 30.01.2003, Noah said: > --------------------[snip]-------------------- > >I don't want to use $_REQUEST['my_passed_variable'] at all. > > > >Right now when I do an sql insert on my local machine I have to use the > >following syntax: > > > >INSERT into tablename (field name list) > >VALUES ($_REQUEST['var1'], $_REQUEST['var2'], > >$_REQUEST['var3']) > > > >I just want to use $var1, $var2, $var3 > --------------------[snip]-------------------- > > You can always resort to > extract($_REQUEST); > > > -- > >O Ernest E. Vogelsinger > (\) ICQ #13394035 > ^ http://www.vogelsinger.at/ > >

« previous php.general (#133587) next »