I try to show query in Hebrew from mysql mariadb 10.2 through php. The problem is that all I see is question marks as the picture below:
https://i.stack.imgur.com/SZGJJ.jpg
I changed all the database, tables and columns to UTF8_general_ci. I updated the meta tag, as u can see in the code below, the header, and when I put mysql_query("SET NAMES 'utf8'")
it says https error 500, so I made it a comment.
config_php:
<?php
session_start();
$host = "localhost";
$user = "users";
$password = "123";
$dbname = "users";
$con = mysqli_connect($host, $user, $password,$dbname);
if (!$con) {
die("Connection failed: " . mysqli_connect_error());
//mysql_query("SET NAMES 'utf8'");
mysqli_set_charset('utf8',$con);
}
status.php:
I couldn't post the code for some reason so heres a picture:
https://i.stack.imgur.com/F8tAy.jpg
So I thought it would give me no question marks, but it did.