第 9 行異常 , 錯誤訊息搜尋過網路沒找答案 , 另外我也換過可以 RUN 的標頭貼上 , 怎麼也異常
第 9 行是 <meta charset="utf-8">
<?php
include("connMysqlObj.php");
$sql_query = "SELECT * FROM user address LIKE '%ABC% AND address1 LIKE '%ABC%';
$result = $db_link->query($sql_query);
$total_records = $result->num_rows;
?>
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>客戶資料</title>
</head>
$sql_query = "SELECT * FROM user address LIKE '%ABC% AND address1 LIKE '%ABC%';
少個"跟'
應該是
$sql_query = "SELECT * FROM user address LIKE '%ABC%' AND address1 LIKE '%ABC%'";
老人家眼睛不好,不要再玩大家來找碴的遊戲