ZF-2986, right? Voted, watched, and commented :-)
--
Bradley Holt
bradley.holt@foundline.com
On Tue, Sep 9, 2008 at 2:21 PM, Matthew Weier O'Phinney <matthew@zend.com> wrote:
-- Bradley Holt <bradley.holt@foundline.com> wrote
(on Tuesday, 09 September 2008, 01:56 PM -0400):
There's been an issue in the tracker requesting support for this for> OK, I think this is probably a dumb question. Is there a syntax for having one
> URL parameter with multiple values pulled in as an array? For example, without
> using MVC I could just do:
>
> http://www.example.com/?controller=foo&action=bar¶m[]=x¶m[]=y
>
> And access param as:
>
> $param = $_GET['param'];
> echo $param[0]; //echos x
> echo $param[1]; //echos y
>
> Do I simply do the following?
>
> http://www.example.com/foo/bar/param[]/x/param[]/y/
>
> I think I may have answered my own question - now I'll try it and find out ;-)
>
> Are there any other ways to do this that people have tried?
some time. Bump it. :)
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
--
Bradley Holt
bradley.holt@foundline.com
没有评论:
发表评论