title: PHP using $_GET to change a include file in div when link is clicked in MVC model
body: <p>I am learning php to develop a web application. I am trying to use the MVC model and use <code>$_GET</code> to fetch user input on URL as controller and method through <code>.htaccess</code> file setup. However, I found the normal <code>$_GET</code> function is not working anymore when I am trying to update a div through clicking a link. </p>
  
  <p>It would work without <code>.htaccess</code> file like the following example:</p>
  
  <pre><code>&lt;a href="?grade=grade1"&gt;Grade 1&lt;/a&gt;
  
  &lt;?php $grade=$_GET['grade'];?&gt;
  
  &lt;div&gt; &lt;?php include ($grade.'.php');?&gt; &lt;/div&gt;
  </code></pre>
  
  <p>I tried JQuery, but it doesn't work in my i.e somehow. I also tried button action. It worked, but I still think link looks better. Is there anyway to use <code>_GET</code> in above example in MVC model? Any other suggestions to work around it? I am new to web development, I want a simple solution. :)</p>
  
  <p>Thanks a lot!</p>