title: Syntax error, unexpected ')', expecting ';' in for each loop
body: <p><a href="https://i.stack.imgur.com/CFzQq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CFzQq.png" alt="code image"></a>
  .</p>
  
  <p>Hi, this is my code, don't know why but I have a stupid syntax error,on the marked line. 
  Please bring some light for a php nob.</p>
  
  <pre><code>Parse error: syntax error, unexpected ')', expecting ';' in /var/www/stats/upd_tr_stats.php  on line 38
  </code></pre>