Re: Get "nice" variables from POST

From: Date: Thu, 11 Mar 2004 15:29:32 +0000
Subject: Re: Get "nice" variables from POST
Groups: php.general 
Request: Send a blank email to php-general+get-180170@lists.php.net to get a copy of this message
> Does this look nicer? > > $fields = array('username', 'password', ...); > foreach($fields as $key) $$key = $_POST[$key]; Hi Marek, A bit confused...whats the meaning of the double $ for "key"...or is that a typo? Thanks, -Ryan

« previous php.general (#180170) next »