开发者

Custum routing while form submit with get mehod- Zend Framework

I am submitting values using zend_from using get method.

I want to do custom routing here.

Here it shows url :

http://www.example.com/news/index?keyword=world&news_category=&dt_from=&dt_to=&search=Search&limit=10

开发者_JS百科

but I want to show :

http://www.example.com/news/index/keyword/world/news_category/architecture/dt_from/null/dt_to/null/search/Search/limit/10

IS it possible ?

Please help me to solve it.


If you already have the route set up to process the second url correctly, you can use some javascript to catch the form submit and change it to a redirect with the params placed correctly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜