Home >Backend Development >PHP Tutorial > thinkPHP中form表单action的有关问题

thinkPHP中form表单action的有关问题

WBOY
WBOYOriginal
2016-06-13 12:36:58917browse

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

thinkphp form action 表单
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn