0

email exists in database

I'm creating a web site for educatio and implementing a newdletter subscription system.. IRegistration process works fine}, even the emauls are correctly sent....BUT..... if i use the same address twenty times....i have twenty registry with the same email.....need help!! here the code ...

22nd Sep 2018, 3:25 PM
Lorenzo Sandoval
Lorenzo Sandoval - avatar
3 odpowiedzi
+ 3
I don't see anything calling your functions. You insert them without calling emailExiste function. Is this your code? Codes like sending emails should be located outside your web root
22nd Sep 2018, 5:28 PM
Toni Isotalo
Toni Isotalo - avatar
0
Where is the code? Maybe check if address already exists, but I can only guess without code.
22nd Sep 2018, 3:36 PM
Matthias
Matthias - avatar
0
i'm really sorry...i forget to paste the code...there is... https://code.sololearn.com/Wp3dg17TZQLs/?ref=app
22nd Sep 2018, 3:55 PM
Lorenzo Sandoval
Lorenzo Sandoval - avatar