|
-
Senior Member
PHP - Handling multiple variables with the same name
I am at my wits end, absolutely stuck.
I am runnning a picklist script and it generates the following query string:
addPage.php?pageTitle=&PickList%5B%5D=11&PickList% 5B%5D=12&PickList%5B%5D=15&pageId=2005-120-14-8-0
How on earth do I handle the variables using php or javascript in the query string as they all have the same name?
Can anyone help
PLEASE !
-
Hi,
if you look closer(through unencoding eyeglasses) all those varnames are picklist[] - php will create a "picklist" array for you.
Musicman
-
Senior Member
how would I access this then musicman ?
-
Senior Member
I am a muppet
thanks musicman, something soooooo simple has bugged me for days.
You, good man, are a genius.
cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|