title: Bangla font is not displaying on this PHP code
body: <p>Here is a PHP code</p>
  
  <h3>php</h3>
  
  <pre><code>&lt;?php
    $servername = "server";
    $username = "user";
    $password = "password";
    $dbname = "db";
  
  
  
    // Create connection
    $conn = new mysqli($servername, $username, $password, $dbname);
    // Check connection
  
    if ($conn-&gt;connect_error) {
        die("Connection failed: " . $conn-&gt;connect_error);
    } 
  
    $sql = "SELECT idbn, infobn, datebn FROM `update`";
    $result = $conn-&gt;query($sql);
  
  
    if ($result-&gt;num_rows &gt; 0) {
        // output data of each row
        while($row = $result-&gt;fetch_assoc()) {
  
  
    echo "&lt;tr&gt;&lt;td&gt;&lt;a&gt; ";
    echo  $row["idbn"];
    echo "&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a&gt; ";
    echo $row["infobn"];
    echo "&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a&gt;" . $row["datebn"]. "&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;";
      }
    } else {
        echo "0 results";
    }
    $conn-&gt;close();
    ?&gt;
  </code></pre>
  
  <p>But the problem is, it is not retrieving the Bengali data from mysql</p>
  
  <pre><code>mysqli_query('SET CHARACTER SET utf8');
  mysqli_query(“SET SESSION collation_connection ='utf8_general_ci'") or die (mysql_error());
  </code></pre>
  
  <p>I also added this code here. But every time it lost the data. if I remove the UTF8 code then I got <code>?????</code>. So I need help out of this.</p>