title: change URL of PHP get request when sending form data to script
body: <p>Right now, upon form submission, the URL looks like:</p>
  
  <p>(where 'query' is the submitted data)</p>
  
  <pre><code>http://mySite.com/index.php?search=query
  </code></pre>
  
  <p>or    </p>
  
  <pre><code>http://mySite.com/?search=query
  </code></pre>
  
  <p>How can I make it</p>
  
  <pre><code>http://mySite.com/search?q=query
  </code></pre>
  
  <p>If possible to do it without editing the .htaccess file, then please tell me how.</p>
  
  <p>Or if it is necessary to edit .htaccess, please teach me what rule to add so that all queries have a URL in that form when submitted.</p>