title: Accessing information in array
body: <p>Ok Im getting a bit confused with arrays in php. This is the code</p>
  
  <pre><code>$search = "%" . $search ."%";
  // Step 1: Establish a connection
  $db = new PDO("mysql:host=localhost;dbname=########", "#########", "###########");
  
  // Step 2: Construct a query
  $query = "SELECT * FROM movies WHERE title LIKE " . $db-&gt;quote($search);
  
  // Step 3: Send the query
  $result = $db-&gt;query($query);
  
  // Step 4: Iterate over the results
  while($row = $result-&gt;fetch(PDO::FETCH_ASSOC)) {
      var_dump($row);
      echo $row['title'];
  }
  
  // Step 5: Free used resources
  $result-&gt;closeCursor();
  $db = null;
  </code></pre>
  
  <p>Now when I search for say "Candyman" it returns 6 results, what I am tring to do is something like <code>$row['title'][3]</code> (So I can grab the title of the 3rd film in the array)
  however this doesn't work <code>$row['title'];</code> displays all 6 titles how do I access the next level?</p>
  
  <p>Below is a link to the search I am using
  <a href="http://www.gorrors.com/moviesearch.php?search=candyman" rel="nofollow">http://www.gorrors.com/moviesearch.php?search=candyman</a></p>
  
  <p>Sorry for the newbie question but Im at a loss any help would be greatly appreciated.</p>