问题描述
我在 PHP 中使用 MysqLi 准备好的语句从表中获取数据,但它显示我错误
include('db_connection.PHP');
if (isset($_POST['submitted'])){
$email = $_POST['email'];
$pw= $_POST['password'];
$password= md5($pw);
$q1="select * from global_user where(user_name=? OR user_email=?)And user_password=?";
$stmt = $conn->prepare($q1);
$stmt->bind_param("sss",$email,$password);
$stmt->execute();
$result = $stmt->get_result(); // get the MysqLi result
$user = $result->fetch_assoc(); // fetch data
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)