sql = "SELECT * FROM resactv where email="&mail&" and actv="&attivita

Ciao,
Matteo