I was just reading your message, do I see that you send an array with a
Like <input name="glacier[x]"> ?
I just wanted you to know that using brackets  is not allowed in the
html-name attribute! Your html-page will not validate :(
The sollution is sending al your vars as simple vars (no array) and collect
them with HTTP_GET_VARS or HTTP_POST_VARS, php-variables.
Maybe this will also be a sollution for your problem... just take a look
from another point of view :)
"Andy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there,
> I have a tricky array question.
> My app is passing via post a array variable called glacier. Now I am
> checking for the content
> of this array. Because there are more of those arrays, I am getting all
> names out of a db.
> How is it possible to get the value and keep the name of the array
> Array name passed by post is: $glacier //
> contains e.g. $glacier = testname
> Array with category names coming out of db is: $category // contains
> $category = glacier
> echo $categories; // returns glacier
> echo $glacier; // returns testname
> I tryed $categories but it returns only the first letter of glacier
> Any ideas??
> Thanx, Andy
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php