读书人

thinkPHP中form表单action的有关问题

发布时间: 2013-09-29 11:07:08 作者: rapoo

thinkPHP中form表单action的问题
thinkPHP中form表单的action应该怎么写?我的项目名为reg,html文件名为search.html,对应的php文件为Search.class.php。类为Search ,方法为search()。action="{:U('reg/Search/search')}"这样写对吗?正确的方式是什么 thinkphp form action 表单
[解决办法]
你的PHP文件命名应该是 SearchAction.class.php 才对哦!

读书人网 >PHP

热点推荐