x10webhosting Call to undefined method mysqli_stmt::get_result()
up vote
0
down vote
favorite
This is my php block that has the get_result() public function storeUser($first_name,$middle_name,$last_name,$birthdate,$age,$monthly_salary,$tax,$email,$password) { $uuid = uniqid('', true); $hash = $this->hashSSHA($password); $encrypted_password = $hash["encrypted"]; // encrypted password $salt = $hash["salt"]; // salt $stmt = $this->conn->prepare("INSERT INTO users(unique_id, first_name, middle_name, last_name, birthdate,age, monthly_salary,tax, email, encrypted_password, salt, created_at) VALUES(?, ?, ?, ?, ?,?,?,?,?,?,?,NOW())"); $stmt->bind_param("sssssssssss", $uuid, $first_name,$middle_name,$last_name,$birthdate,$age, $monthly_salary,$tax, $email, $encrypted_password, $salt); $result = $stmt->e...