Error code arabic lang

Username (e.g. epiz_XXX) or Website URL
(please specify the website or account you are asking about)
in site arabic language appear ???"when get data from database " but in sql database appear correct letters


            <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
            <meta charset="UTF-8">
	<div class="container mt-5">
		<div class="row">
		    <h1 class="w3-xxlarge">ST.Timothy.G (saint Timothy gathering ) </h1>
            <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
            <meta charset="UTF-8">
			<div class="col-xl-12 col-lg-12 col-md-12 col-12 m-auto">
				<table class="table table-bordered table-hovered table-striped" id="productTable">
						<th> User name </th>
						<th> Group Name</th>
						<th> scores </th>



						foreach($products as $product) : ?>

                                <td> <?php echo "<a  href=\"detailed.php?product_id=".$product['idUser']."\"> ".$product['nameUser'] ." </a>"; ?> </td>
                                <td> <?php echo $product['NameGroup']; ?> </td>
								<td> <?php echo $product['SUM(`score`)']; ?> </td>


						<?php endforeach; ?>	

	<script src=""></script>
	<script src=""></script>
	<script src=""></script>

	<!-- CDN jQuery Datatable -->
	<script type="text/javascript" charset="utf8" src=""></script>

If I understood correctly, the intention is to store Arabic
only sometimes show ???? chars


thanks alot

1 Like

the soulution
$mysqli → set_charset(“utf8”);
in connection sql


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.