title: Notice - Array to string conversion error
body: <p>I'm having an error on array to string conversion. I think I did everything correctly and looped the variable but it's still giving me the notice.</p>
  
  <pre><code>&lt;li&gt;
  &lt;a  title=""&gt;Full Time&lt;/a&gt;
  &lt;?php
  $db = mysqli_connect('localhost', 'db', '12345678', 'db');
  $logado = $_SESSION['id_utilizador'];
  $result = mysqli_query($db, "SELECT modulo FROM disciplinas WHERE id_utilizador = '$logado' ORDER BY iddisciplinas DESC LIMIT 1");
  while ($row = mysqli_fetch_array($result)) {
  echo "&lt;a&gt;$row&lt;/a&gt;"; //Error in this line
  }
  ?&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>So yeah. It just shows the notice. Thanks in advance for your help.</p>