<FORM name=formsearch action=⼀plus⼀search.php> <DIV class=form><INPUT type=hidden value=0 name=kwt

2025-06-22 22:58:21
推荐回答(2个)
回答1:

你这个form不完整吧,完整的情况下,还有 method=‘post’ 或者是 method=‘get’...
假设完整,那么:
首先看你的 button:
BUTTON class=search-submit type=submit
因为你的button type为submit(提交),当你点击button这个标签的时候这个form表单就会把表单里面填写好的值 传递给action中的文件。
action=/plus/search.php 一般是在search这个页面通过系统预设的变量来接受form表单传递的值,如果form表单的method为post,这个页面则通过$_POST['kwtype']来接受你form表单的值,如果为get,则这个页面通过$_GET['kwtype']来接受form表单的值~

回答2:

这代码就几个标签,哪有什么函数。