In chapter 12, we're presented code to update example #1 to use prepared statements. For some reason, in the forgot_password.php file, there was one statement where Larry didn't supply the code to update. Was there a reason for this? Thanks.
// Check for the existence of that email address... $q = 'SELECT id FROM users WHERE email="' . escape_data($email, $dbc) . '"'; $r = mysqli_query($dbc, $q); if (mysqli_num_rows($r) === 1) { // Retrieve the user ID: list($uid) = mysqli_fetch_array($r, MYSQLI_NUM); } else { // No database match made. $pass_errors['email'] = 'The submitted email address does not match those on file!'; }