title: Change DIV content using ajax, php and jQuery
body: <p>I have a div which contains some text for the database:</p>
  
  <pre><code>&lt;div id="summary"&gt;Here is summary of movie&lt;/div&gt;
  </code></pre>
  
  <p>And list of links:</p>
  
  <pre><code>&lt;a href="?id=1" class="movie"&gt;Name of movie&lt;/a&gt;
  &lt;a href="?id=2" class="movie"&gt;Name of movie&lt;/a&gt;
  ..
  </code></pre>
  
  <p>The process should be something like this:</p>
  
  <ol>
  <li>Click on the link</li>
  <li>Ajax using the url of the link to pass data via GET to php file / same page</li>
  <li>PHP returns string</li>
  <li>The div is changed to this string</li>
  </ol>