I execute this select statement on my table
$get_ads_by_category_query = "select name from sorvy_djcf_items where cat_id='38'";
if(mysqli_select_db($conn,'joyshopp_adds')){
$result = mysqli_query($conn, $get_ads_by_category_query);
if( mysqli_num_rows($result) > 0 ){
$row = mysqli_fetch_row($result;
echo $row[0];
}
When I execute this query return Malformed JSON: Unexpected '?' in browser do you know why this happen???
Do you have a solution?
I also saw this How to convert an entire MySQL database characterset and collation to UTF-8? and tried to change the database collation to utf8 but it did not worked...