title: XML in PHP (RSS reader)
body: <p>I have this code and it works great</p>
  
  <pre><code>$i = 0; // counter
  $url = "http://www.banki.ru/xml/news.rss"; // example url to parse
  $rss = simplexml_load_file($url); // XML parser
  print '&lt;h2&gt;&lt;img style="vertical-align: middle;" src="'.$rss-&gt;channel-&gt;image-&gt;url.'" /&gt; '.$rss-&gt;channel-&gt;title.'&lt;/h2&gt;'; // channel title + img with src
  
  foreach($rss-&gt;channel-&gt;item as $item) {
  if ($i &lt; 1) { // parse only 1 item
  print '&lt;a href="'.$item-&gt;link.'"&gt;'.$item-&gt;title.'&lt;/a&gt;&lt;br /&gt;';
  }
  
  $i++;
  }
  </code></pre>
  
  <p>But I would like to show only second item from this feed. How I can do this?</p>