title: php search form
body: <p>am fiddling around with a search form i've managed to string together which works. In total there is a possibility to input 28 values including checkbox's and selection options. So i have this code repeated 28 times with different variables, is there a shorter way to do this, it looks so nasty in my code which leads me to believe am doing something very wrong. Here is an example of my code:</p>
  
  <pre><code>            $search_shop_name = '';
  
              if(isset($_GET['search_shop_name'])) {
              $search_shop_name = $_GET['search_shop_name']; 
      }               
      else {
          $search_shop_name = '';
      }   
  </code></pre>
  
  <p>That is just 1 piece of code for one input, imagine how long and sloppy this code is. Any advice would be appreciated. thanks</p>