Zend_Route代碼問題
此代碼正在工作。
php zend路由變量
resources.router.routes.babynameslist.route = "baby-names/baby-boy-names-list-from/:char
resources.router.routes.babynameslist.defaults.module = "default"
resources.router.routes.babynameslist.defaults.controller = "index"
resources.router.routes.babynameslist.defaults.action = "babynameslist"
http://example.com/baby-names/baby-boy-names-list-from/a/
,但我想用這個。
resources.router.routes.babynameslist.route = "baby-names/baby-boy-names-list-from-:char/"
resources.router.routes.babynameslist.defaults.module = "default"
resources.router.routes.babynameslist.defaults.controller = "index"
resources.router.routes.babynameslist.defaults.action = "babynameslist"
它不工作( - :字符/)
http://example.com/baby-names/baby-boy-names-list-from-a/
請幫助我,我怎樣才能使 「嬰兒男孩的名字列表,從-A」