Kurt,
You might have some luck with adding [], I seem
to remember that making arrays for form posts,
so it might do gets too...
http://myhost/playlist.pls?song[]=100&song[]=101&song[]=102
and if you always end up with an array using [],
you might change the condition to
count($song) > 1 or s
] REPOST: converting multiple URL values for the same
variable into an array
Hi Kurt,
> So, am I correct in assuming that $song will never be considered an
> array? (basically, given the above code and URL, $song will always
> equal 102)
If .pls is a PHP file, then in my experience yes you
: converting multiple URL values for the same
variable into an array
Hi Kurt,
> So, am I correct in assuming that $song will never be considered an
> array? (basically, given the above code and URL, $song will always
> equal 102)
If .pls is a PHP file, then in my experience yes you're
Hi Kurt,
> So, am I correct in assuming that $song will never be considered an
> array? (basically, given the above code and URL, $song will
> always equal 102)
If .pls is a PHP file, then in my experience yes you're right.
However, I've never seen a PHP file called .pls, it may be
something e
4 matches
Mail list logo