我有一张名为c31216@gmail.com的桌子
我尝试进行此查询
$esc_email = mysqli_real_escape_string($dbc, $_SESSION['email']);
$email = $_GET['email'];
$query = "INSERT INTO `".$esc_email."` (friendlist) VALUES ('$email')";
及其工作
但是当我对SELECT * FROM query
$exist = "SELECT * FROM `".$esc_email."` WHERE email='$_GET[email]'";
我收到错误:
警告:mysqli_fetch_assoc()期望参数1为mysqli_result,给定布尔值