Đã hoàn thành

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".

Kĩ năng: AJAX, Javascript, MySQL, PHP

Xem nhiều hơn: 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

Về Bên Thuê:
( 32 nhận xét ) Brampton, Canada

ID dự án: #1048371

Được trao cho:

AdamsK

ready for service sir. thanks.

$30 USD trong 1 ngày
(95 Đánh Giá)
5.7

10 freelancer đang chào giá trung bình $48 cho công việc này

RedhopIT

Hi,Please check PM

$50 USD trong 1 ngày
(72 Nhận xét)
6.2
cristisst

I can help you out.

$50 USD trong 0 ngày
(104 Nhận xét)
6.1
JulijanAndjelic

Lets do it.

$30 USD trong 1 ngày
(50 Nhận xét)
6.1
allhen

Ready to work !

$45 USD trong 2 ngày
(58 Nhận xét)
5.8
cloudvn

Allow me to help you! Check PMB, thanks!

$70 USD trong 0 ngày
(69 Nhận xét)
5.4
bhumphries

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 trong 0 ngày
(15 Nhận xét)
5.3
vaithya

Please check PMB for more details.

$100 USD trong 2 ngày
(7 Nhận xét)
4.1
wangnanlena

hi, i can help you

$30 USD trong 0 ngày
(1 Nhận xét)
2.2
ndinhdung

curtismangione, I can help you solve this problem :)

$30 USD trong 0 ngày
(0 Nhận xét)
0.0