"北", "M0113" => "中", "M0039" => "南"]; $sql_cmd = sql_myself($user_id); $sql2 = (empty($sql_cmd)) ? "" : "and a.region = '$inst_arr[$user_id]'"; $sql = "select a.id, a.accountid, a.facilityno, a.issue_time, a.process, a.creater, a.create_at, b.custom from wipinstallation a, wipwholestatus b where a.accountid = b.contractno and a.facilityno = b.facilityno $sql2"; $data = mysqli_query($link,$sql); ?>
Please fill up the required field!"; } else { header("Location:wipinstallation-index.php"); } } ?> There is no record!"; endif; #代表結束連線 mysqli_close($link); include "footer.php"; ?>