smarty将值传递给php

smarty将值传递给php,php,smarty,Php,Smarty,我在smarty模板文件中有这样一个表单 <div id="search-block-wrap"> <table id="search"> <tr> <td width="200" valign="top"> <input type="text" name="search" /> </td> <td> <input id="se

我在smarty模板文件中有这样一个表单

<div id="search-block-wrap">
  <table id="search">
    <tr>
      <td width="200" valign="top">
        <input type="text" name="search" />
      </td>
      <td>
        <input id="search-here" type="submit" value="search" name="search" />
      </td>
    </tr>
  </table>
</div>


这里我想把smarty变量传递给php,在那里我可以处理表单。有人能告诉我怎么做吗。任何帮助都是值得的。谢谢

我想你想得到输入元素的值吧


如果是这样,则必须使用或-取决于表单使用的方法

什么是智能变量?您发布的代码中没有任何内容