$activate_account=mysql_query("UPDATE users SET active='1' WHERE active='0' AND activation_id='$activation_id'",$db);if($activate_account){echo "Обновлено";}else{echo "Не обновлено";}