Have another look here: http://www.php.net/list
Note that the list construct only works on numerical arrays and assumes 0-n. You may want to use import_request_variables() or extract() though. Regards, Philip Olson On Wed, 18 Dec 2002, Ns_Andy wrote: > a.php > > <?php > list($a) = $_GET; > print $a; > ?> > > and I typed a.php?b=c > > I expected c would be printed, What the problems have I made? > -- > Regards, > Ns_Andy, [EMAIL PROTECTED] > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php