How to run an Email Rescue Field - Newsletter

Asked

Viewed 39 times

0

In the footer of all the pages of the site that I am touching has a Subscribe field, for email redemption and newsletter sending. But I don’t know how to make it work, someone helps me?

Follows:

 <form class="newsletter">
    <input type="email" name="EMAIL" placeholder="Seu endereço de e-mail" required />
    <button><i class="fa fa-paper-plane"></i></button>
 </form>
  • Can post some sample code?

  • Define "work".

  • Your form needs an attribute action pointing to the server that will receive the data.

  • So your question is in the PHP part?

  • @bfavaretto I don’t know if it’s php or if I have to use some script for it... I don’t know how to work javascript. In the form, when I click submit I am directed to the php page. even if I use Location: index.html .

  • In PHP you check if a valid email was sent in the form, then you register in the database.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.