> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php