• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search bar output.

Hi there!

Here's the thing, I've got a searchbar

    &lt;form class="searchform" action="handler" method="get" name="search"&gt;
            <label for="Recipe Search" >Recipe Search: </label>
            /* Some input here */

What I want, is to make a controller (handler.php) that gets the output from the search query with GET and puts it in an array.

How is this done? I'm quite a noob so don't hate Sad.

Thank's in advance <(^.^)-!

Everything is in the Docs.
Read the documentation.

[eluser]Hank the Punk[/eluser]
$var = $this->input->get('input_name');
That will allow you to get the value of the field named 'input_name' in the 'handler.php' controller

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.