Multiple HTTP variables of the same name
| From: | John Hockaday | Date: | Wed, 01 Nov 2000 03:54:09 +0000 |
| Subject: | Multiple HTTP variables of the same name | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4082@lists.php.net to get a copy of this message | ||
Hi,
Thanks to all who responded to my email about connecting to a remote
Oracle 8.i database. I can now connect to the database, extract
records and build an HTML table for presentation on the WWW browsers.
I was looking at how to read HTML form variables and I found the
"$HTTP_GET_VARS", which seemed to be the right one, but it doesn't seem
to allow multiples of the same named query parameter.
For example, an HTTP GET method like this:
http://...../php.html?site=1&site=2&site=3&question=6&question=7
gives site=3 and question=7 in the PHP script that is called. ie,
php.html.
Is there some way of getting multiple query parameters of the same
name?
Johnh