$sql="select id,username,password from user where username= ?";
$stmt=mysqli_prepare($conn,$sql);
mysqli_stmt_bind_param($stmt,'s',$name);
mysqli_stmt_execute($stmt);
$result=mysqli_stmt_get_result($stmt); //这句提示警告Call to undefined function 'mysqli_stmt_get_result'
$row=mysqli_fetch_assoc($result);虽然不影响程序运行,但是编辑界面有标黄下划线mysqli_stmt_get_result
2 回答
- 2 回答
- 0 关注
- 1904 浏览
添加回答
举报
0/150
提交
取消