嗨,我想显示一个表格,并遵循一个适当的教程..但我得到编译错误,这是..
方法的缺少参数以对象形式应用; 如果要将其视为部分应用函数,请使用"_"跟随此方法
我的模板看起来像这样
@main("Example"){
<h1>SignUp Form</h1>
@helper.form(action = routes.Application.submit())
{
@helper.inputText(signupform("name"))
@helper.inputText(signupform("password"))
<input type="submit" value="Signup" />
}
}
Run Code Online (Sandbox Code Playgroud) 我正在使用ZendFrameWork 1.11.5我需要制作一个多表单搜索查询,就像我有5个字段一样
name (text box)
city (dropDown)
zipCode (text box)
type (dropdown)
Run Code Online (Sandbox Code Playgroud)
现在的问题是...在文本框用户可以输入任何它可能是正确的信息或不..请建议我如何建立一个快速查询.我有什么样的选择..我也试过这个但不工作..不给我正确的结果..
Select * from table where type = '%$pType%'
OR sex LIKE '%$sex%'
OR race LIKE '%$race%'
OR kind LIKE '%$kind%'
OR country LIKE '%$Country%'
OR state LIKE '%$statesIDs%'
OR zipcode LIKE '%$zip%'";
Run Code Online (Sandbox Code Playgroud)