public function update_code($email, $code)
{
$sql = "Update Users set code = $code where email_u = '$email'";
$query = $this->query($sql);
if ($query) {
echo '1';
} else {
echo '0';
}
}