Array not passing correct value
<p>i have following variable and need to use it in the array loop...</p>

<pre><code>$jointa="'nike-score', 'pack-cupcake', 'shor-burgundy'";

foreach (array($jointa) as $id) {
    $yourSiteContent[] = array('permalink' =&gt; $id, 'updated' =&gt; $dated);
}
</code></pre>

<p><strong>but when i put the value direct in array loop its works fine....</strong></p>

<pre><code>foreach (array('nike-score', 'pack-cupcake', 'shor-burgundy') as $id) {
    $yourSiteContent[] = array('permalink' =&gt; $id, 'updated' =&gt; $dated);
}
</code></pre>

<p>please check where i am doing mistake?</p>
