Re: [PHP] How to get the query string?

2001-08-13 Thread Ryan Fischer
You wrote: > hi guys, > > I'd like to get the query string the browser sends to the script. The > problem is that since the $HTTP_POST_VARS (or $HTTP_GET_VARS ) is an > associative array I can't use numbers to point to the elements of > this array. This piece of code does not work: > > for ($a=1;

RE: [PHP] How to get the query string?

2001-08-13 Thread Rasmus Lerdorf
> > I'd like to get the query string the browser sends to the script. The > > problem is that since the $HTTP_POST_VARS (or $HTTP_GET_VARS ) is an > > associative array I can't use numbers to point to the elements of this > > array. This piece of code does not work: > > > > for ($a=1;$a<=sizeof($H

RE: [PHP] How to get the query string?

2001-08-13 Thread Don Read
On 13-Aug-2001 Tamas Bucsu wrote: > hi guys, > > I'd like to get the query string the browser sends to the script. The > problem is that since the $HTTP_POST_VARS (or $HTTP_GET_VARS ) is an > associative array I can't use numbers to point to the elements of this > array. This piece of code does

RE: [PHP] How to get the query string?

2001-08-13 Thread Taylor, Stewart
foreach ($HTTP_POST_VARS as $key=>$value) { echo "$key = $value"; } -Stewart -Original Message- From: Tamas Bucsu [mailto:[EMAIL PROTECTED]] Sent: 13 August 2001 14:07 To: [EMAIL PROTECTED] Subject: [PHP] How to get the query string? hi guys, I'd like to get the query string the br

Re: [PHP] How to get the query string?

2001-08-13 Thread Renze Munnik
On Mon, Aug 13, 2001 at 03:06:48PM +0200, Tamas Bucsu wrote: > hi guys, > > I'd like to get the query string the browser sends to the script. The problem is >that since the $HTTP_POST_VARS (or $HTTP_GET_VARS ) is an associative array I can't >use numbers to point to the elements of this array.