今天想做個基本的,會員登入系統,
$query = "SELECT username,password FROM guest WHERE $account=? AND
$account=?";
$stmt = $db->prepare($query);
$stmt->bind_param('ss',$account,$passwd);
$stmt->store_result();
$stmt->bind_result($my_account,$my_pass);
在bind_result的地方,能直接不用stmt->fetch()
直接取用它的參數($my_account和$my_pass)嗎?