title: RewriteRule and get 1,2 or 3 values with php
body: <p>I am using .htaccess + php <code>$_GET</code> I want to Go to a link at first like this <code>Browse/link</code> then <code>Browse/link/season</code> and then <code>Browse/link/season/episode</code> but I got problem with <code>.htaccess</code> if I don't go to the last link its not working.</p>
  
  <p>How is it possible to make .htaccess allow me to do that if I remove <code>&amp;episode=$3</code> and go to link Browse/link/ it will work.</p>
  
  <p>it will get season empty but how can I make with <code>&amp;episode=$3</code> in it.</p>
  
  <p>.htaccess Code:</p>
  
  <pre><code>RewriteBase /
  RewriteEngine On
  RewriteCond %{SCRIPT_FILENAME} !-f
  RewriteCond %{SCRIPT_FILENAME} !-d
  RewriteRule ^Browse/(.*)/(.*)/(.*)$ Browse.php?link=$1&amp;season=$2&amp;episode=$3
  </code></pre>
  
  <p>simple $_GET php:</p>
  
  <pre><code>$getlink = $_GET["link"];
  $getseason = $_GET["season"];
  $gerepisode = $_GET["episode"];
  </code></pre>