I write a script for a "Sing Up" page. I have some difficulties at some point.
I need to verify if the email is already registered in the DB. If the email is registered, the script to insert other email.
I attached the script file to this post. Also there are comments where I have to improve the script to add another email in case that a email is already registered in the DB.
Here is my script:
subject: Script for an email address that is already registered in the database