= '$last6mon'"; } $sql = "SELECT * FROM repair $sql_cmd ORDER BY id"; // 用mysqli_query方法執行(sql語法)將結果存在變數中 $data = mysqli_query($link,$sql); ?>
Please fill up the required field!"; } else { header("Location:repair-index.php"); } } ?> There is no record!"; endif; #代表結束連線 mysqli_close($link); include "footer.php"; ?>