我正在尝试构建这个已准备好的语句:$sql .= " title LIKE ? OR title LIKE ?bind_param("ssssssss", $one, $two, $three, $four, $one, $two, $three, $four);$this->db是我的mysqli连接对象
$this->term
我想要用准备好的语句编写这段代码:
if (mysqli_num_rows(mysqli_query($link,"select name from accounts where name='$username我知道如何做一个准备好的"INSERT INTO"语句,因为我不需要将mysqli_query结果放到php变量中,而是如何保存一个"SELECT"准备语句</