From e776d41d953c3cd851be8ac0776b190f2f8377ce Mon Sep 17 00:00:00 2001 From: root Date: Sun, 16 Oct 2016 20:18:31 +0200 Subject: [PATCH] Creata la pagina per registrare i rinnovi --- stayin.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/stayin.php b/stayin.php index 62a2de0..bc97e86 100644 --- a/stayin.php +++ b/stayin.php @@ -1,3 +1,37 @@ $db_table()->where(array( + "token" => $token, + "ml" => $ml, + "email" => $email + ))->update(array( + "renewed" => 1, + )); + + if($affected == 1) { + echo "Hai rinnovato l'inscrizione."; + } else { + echo "Si รจ verificato un errore."; + } +} ?>