title: rewrite two variable with RewriteRule
body: <p>I have a code like this:</p>
  
  <pre><code>  echo "  &lt;td width='57%' height='126' class='bord' &gt;&lt;a href='$category_name-$id.htm'
    class='title_style'&gt;" . $title . "&lt;/a&gt;&lt;br /&gt;
     ";
  </code></pre>
  
  <p>So, $category_name is the name of categories from database. So it changes!</p>
  
  <p>I need to rewrite it using RewriteRule. I've tried something like this</p>
  
  <pre><code>   Options +FollowSymlinks
     RewriteEngine on
     RewriteRule ^([a-zA-Z0-9-]+)-([0-9]+)\.htm$  classified.php?id=$1 [L]
  </code></pre>
  
  <p>EX:
  Let say $category_name = Cars and $id =15 then the url should look: Cars-15.htm</p>
  
  <p>I thank you in advance</p>