title: Sending POST data in the url
body: <p>ok so i have a search form which submits to "search.php" i want the search.php url to include the data submited. for example: search.php?search=submited_search_form_data, my form is below to make this more clear.</p>
  
  <pre><code>function show_search( ) {
  
      $output = "&lt;form action=\"../search.php?search=" . $submited_search_form_data . "\" method=\"post\"&gt;";
          $output .= "&lt;div id=\"search\"&gt;";
              $output .= "&lt;input class=\"search-box\" onfocus=\"if(this.value == ' SEARCH...'){this.value = '';}\" onblur=\"if(this.value == ''){this.value=' SEARCH...';}\" value=\" SEARCH...\" name=\"inpname\" type=\"text\"&gt;";
              $output .= "&lt;input class=\"search-style\" type=\"submit\" name=\"search\" value=\"Search\"&gt;";
          $output .= "&lt;/div&gt;";
      $output .= "&lt;/form&gt;";
  
      return $output;
  }
  </code></pre>