Half solved (was foreach in search)

From: Date: Sun, 10 Aug 2003 19:14:53 +0000
Subject: Half solved (was foreach in search)
Groups: php.general 
Request: Send a blank email to php-general+get-159049@lists.php.net to get a copy of this message
Hi, I am getting a lits of GET values and dumping the variable and the value into an array like so: $xxx=0; foreach ($_GET as $a => $v) { print "Current value of \$a:$a and \$v $v.\n <br>"; $test=$a."=".$v; $test1[$xxx]="".$test; $xxx++; } So now $test1[] contains the whole GET's variables and values, how do i pharse it so that i can dump all the $test[]s data like so: $someVar=$test[0]. "&" .$test[1]. "&" .$test[2].....etc Kindly help. Thanks, -Ryan We will slaughter you all! - The Iraqi (Dis)information ministers site http://MrSahaf.com

« previous php.general (#159049) next »