Re: Half solved (was foreach in search)

From: Date: Sun, 10 Aug 2003 22:34:05 +0000
Subject: Re: Half solved (was foreach in search)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-159067@lists.php.net to get a copy of this message
> implode.....why the #@%# didnt i think of that?? > Thanks dude. > Just one last question, the last variable i am getting is page=1, how do i > increase this? > Basically I need to do a $page++ > so do it then.... $xxx=0; foreach ($_GET as $a => $v) { print "Current value of \$a:$a and \$v $v.\n <br>"; if( $a = "page" ) $v++; $test=$a."=".$v; $test1[$xxx]="".$test; $xxx++; } does that look right? i think that's what your after anyway...

« previous php.general (#159067) next »