Kingunit schreef:Dan klopt je query niet, denk ik.Eerdere citaten tonen
Milan schreef:mysqli_result($con, $query)[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/return"]return[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$mysqli[/COLOR][COLOR= #007700]->[/COLOR]result[COLOR= #007700]([/COLOR][COLOR= #0000BB]$mysqli[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$mysqli[/COLOR][COLOR= #007700]->[/COLOR]query[COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT COUNT(`user_id`) FROM `customers` WHERE `email` == $email AND `password` = $password"[/COLOR][COLOR= #007700])) ==[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]) ?[/COLOR] [COLOR= #0000BB]$user_id[/COLOR] [COLOR= #007700]:[/COLOR] false[COLOR= #007700];[/COLOR] ?>
Fatal error: Call to undefined method mysqli::result() in
Moet == niet = zijn in de query?
56: