I need to display XML in jquery parsed from a PHP file
<p>Here is the Parser in PHP it currently displays in PHP and I need a function to display the parsed images in jQuery.</p>

<pre><code>for($y = 0; $y &lt;= 1; $y++){
    $featured_channel = array_values($featured_channel);
    $arraytotal = (count($featured_channel)-1);
    $x = rand(0,$arraytotal);

I want to pull $featured_channel[$x]-&gt; into jQuery and display the images in that.
</code></pre>
