title: Get some value from url?
body: <p>I have this kind of url from youtube, with the value of video</p>
  
  <pre><code>$url='http://www.youtube.com/watch?v=H_IkPia6eBA&amp;';
  </code></pre>
  
  <p>What i need is just to get new string with value of V etc in this case </p>
  
  <pre><code>$newstring='H_IkPia6eBA&amp;';
  </code></pre>
  
  <p>I dont know how long V could be, only i need to get that value of V, I have tried </p>
  
  <pre><code>$string = 'http://www.youtube.com/watch?v=oYyslNuRcwM';
  $url = parse_url($string);
  parse_str($url['query'], $query);
  
  print_r($query);
  </code></pre>
  
  <p>Tried with this, but in CodeIgniter post, I only get empty array?</p>