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."; + } +} ?>