Small AJAX/PHP/MySQL Script Needed

Hi I have a site that needs a very quick script and I don't know AJAX.

Basically on the side of every page on my site I will have an input field where a user can input their email address and click submit (to subscribe to my mailing list). When the user clicks submit their email address must be entered into a table in my database. There are many tables in my database so the email must be inserted into a table based on a cookie that is already set.

The email address MUST be submitted without refreshing the page and when the user clicks submit, the following should happen:

If the email address already exists in the table a message should appear saying something like "Email already exists" and allow the user to try again.

If they enter an email address, and it doesn't already exist in the database, it should be inserted into the correct table and a message should replace the form saying a SUCCESS message.

If the user leaves the field blank and clicks submit, it should not be submitted and a message should appear "Please enter your email address".

Compétences : AJAX, Javascript, MySQL, PHP

Voir plus : please enter your email, email address already exists php ajax, leaves, ajax php, javascript submit form email address, ajax list list mysql, php mysql cookie, mysql inserted, submit mysql page, script form address, script message, php correct, javascript mysql table, already exist, php mysql field list, ajax mysql table php, javascript ajax table, ajax php form mysql, mysql exist table, script replace, form ajax mysql, ajax form mysql php, must enter script, php javascript address, mysql table exist

Concernant l'employeur :
( 32 commentaires ) Brampton, Canada

N° du projet : #1048371

Décerné à :


ready for service sir. thanks.

30 $ USD en 1 jour
(95 Commentaires)

10 freelance font une offre moyenne de $48 pour ce travail


Hi,Please check PM

50 $ USD en 1 jour
(72 Commentaires)

I can help you out.

50 $ USD en 0 jours
(104 Commentaires)

Lets do it.

30 $ USD en 1 jour
(50 Commentaires)

Ready to work !

45 $ USD en 2 jours
(58 Commentaires)

Allow me to help you! Check PMB, thanks!

70 $ USD en 0 jours
(69 Commentaires)

I can take care of this quickly for you and will not take long at all. Let me know if you would like to get started and we can sort out the details for development and delivery. Thanks.

40 $ USD en 0 jours
(15 Commentaires)

Please check PMB for more details.

100 $ USD en 2 jours
(7 Commentaires)

hi, i can help you

30 $ USD en 0 jours
(1 Commentaire)

curtismangione, I can help you solve this problem :)

30 $ USD en 0 jours
(0 Commentaires)