title: PHP URL Rewriting from local host via .htaccess
body: <p>I am using Wamp and i am new to url rewriting what i want to do is to convert this</p>
  
  <pre><code>localhost/webtv/video/?ID=14&amp;CH=30
  </code></pre>
  
  <p>To:</p>
  
  <pre><code>localhost/webtv/channel name/video title/
  </code></pre>
  
  <p>where <code>/webtv/</code> = the root of my website on <code>localhost</code> and <code>ID</code> = the <strong>video id</strong> and <code>CH</code> = the <strong>channel id</strong></p>
  
  <p>Do i have to query the titles of the video and the channel or what and whatever solution you will give me will work on locahost as on the server ?</p>
  
  <p>Thank you so much</p>