1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to get input value in controller php file

Discussion in 'XenForo Development Discussions' started by typostudy, May 19, 2013.

  1. typostudy

    typostudy Member

    in my template, I have one input field, <input type="text" name="find" /> , so after user input texts inside, how could I get the input value in Controller php file?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    $find = $this->_input->filterSingle('find', XenForo_Input::STRING);
  3. typostudy

    typostudy Member

    Got it, thanks

Share This Page