C'è qualcuno che mi sa dire come mai se scrivo questo:
mi appare l'errore
in questa riga
PHP:
$stmt1 = $mysqli->prepare("SELECT * FROM utenti WHERE username= ?, email= ? ");
$stmt1->bind_param("ss", $username, $email);
$stmt1->execute();
$stmt1->store_result();
if(($stmt->num_rows > 0) OR ($stmt1->num_rows) > 0){ etc...
PHP:
Call to a member function bind_param() on a non-object
PHP:
$stmt->bind_param('ss', $username, $email);