我在我的表上执行这个选择语句
$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];
}
当我执行这个查询返回 Malformed JSON: Unexpected '?' 在浏览器中你知道为什么会这样吗???
你有解决方案吗?
我还看到了如何将整个 MySQL 数据库字符集和排序规则转换为 UTF-8?并试图将数据库排序规则更改为 utf8,但它没有奏效......