for insert query give error parse error, expecting `']''
<p>Parse error, expecting <code>]</code> in the following code:</p>

<pre><code>$j=0;


for($i=0; $i&lt;2;$i++)
{

$sql="insert into info (degree,institute,year,cgpa) values('$store[$j=$j+1]','$store[$j=$j+1]','$store[$j=$j+1]','$store[$j=$j+1]')";
    $insert=mysql_query($sql);

} 
</code></pre>

<p>Where <code>$store</code> is an array.</p>

<p>Anyone please help me.</p>
