How to pass array to another page by using anchor in php
<p>I have to pass an array value from one php page to another php page using <code>&lt;a href&gt;</code> ... here is my coding</p>

<p><code>$cluster</code> is an array </p>

<pre><code>echo "&lt;td&gt;&lt;a href=myebon.php&amp;cluster[]=".$cluster."&gt;Click here to OFF&lt;/a&gt;&lt;/td&gt;";
</code></pre>

<p>in <em>myebon.php</em></p>

<pre><code>$n=count($_GET[cluster]);
for($i=0;$i&lt;=$n;$i++)
{
    echo $cluster[$i]=$_GET['cluster'][$i];
}
</code></pre>

<p>The value is not accessible in the second page, it's displaying as array but not the values. I have tried serialization concept too ...</p>
