title: PHP error , I can not get data from SQL data base
body: <p>I can not put link from db , how to fix that . I would like to find out, how to put the link from DB in tag <code>a</code>.</p>
  <pre><code>//names of available articles
  function print_data($result_data)
  {
      while( ( $row = $result_data=&gt;fetch_assoc() ) != false ){
          // get all data about article and put it in variable row
      
          echo &quot;&lt;a href=&quot;' . htmlspecialchars($row['text']) . '&quot;&gt;GO &lt;/a&gt;&quot;.&quot;&lt;br&gt;&quot;; // print names of articles
  
      }
  
  }
  </code></pre>
  <p><strong>Error</strong></p>
  <blockquote>
  <p><strong>Parse error:</strong> syntax error, unexpected &quot;.htmlspecialchars($row[&quot; (T_CONSTANT_ENCAPSED_STRING), expecting ';' or ',' in <strong>D:...</strong> on line 29</p>
  </blockquote>