Jump to content

email update form


ROCKINDANO

Recommended Posts

I am trying to create a form on my website to have people sign up for email notifications.

 

Little confuse on this. i know i can do a form to submit info into a db or for an email to be sent to me.

 

i have seen some on website that have a sign up form for newsletters or etc...

 

how do these forms work? is there someone receiving all these emails or getting signed up user from a db and emailing each person?

 

confuse on this topic. can someone explain?

Link to comment
https://forums.phpfreaks.com/topic/246044-email-update-form/
Share on other sites

In the DB you should have a column called newsletter (or some variation that is significant so you know what it is for) and either a 1 or 0  for true or false, whether they want the newsletter or not... Then you can make a textbox form that when you click sent, it queries the DB and collects all the emails from users that have newsletter set to 1 (for true) and sends it to those emails.

Link to comment
https://forums.phpfreaks.com/topic/246044-email-update-form/#findComment-1263621
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.