Parse error: syntax error, unexpected '[', expecting ',' or ';'
<p>I have tried Googling and also browsed for similar topics here. Sorry if it's a very silly issue, but it's eating my all time and I don't have peaceful mind to find the issue.</p>

<blockquote>
  <p>Parse error: syntax error, unexpected '[', expecting ',' or ';' in   xxx.php on line 58</p>
</blockquote>

<pre><code>&lt;?php
while($row = mysql_fetch_array($result)){
?&gt;
&lt;tr&gt;
    &lt;td&gt; &lt;/td&gt;
    &lt;td&gt;&lt;?php echo row['transaction_id'] ?&gt;&lt;/td&gt; //line no 58
    &lt;td&gt;&lt;?php echo row['mobile_operator'] ?&gt;&lt;/td&gt;
    &lt;td&gt;&lt;?php echo row['amount'] ?&gt;&lt;/td&gt;
    &lt;td&gt;&lt;?php echo row['email'] ?&gt;&lt;/td&gt;
    &lt;td&gt;&lt;?php echo row['payment_gateway'] ?&gt;&lt;/td&gt;
    &lt;td&gt;&lt;?php echo row['payment_status'] ?&gt;&lt;/td&gt;
    &lt;td&gt;&lt;?php echo row['payment_remarks'] ?&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;?php
$i=$i+1;
}
?&gt;
</code></pre>
