Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PHP Tutorials: Create a mailing list (Part 3)

Loading...

Sign in or sign up now!
10,719
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 10, 2009

Send an email to a list of users and their email addresses inside a MySQL database.

  • likes, 2 dislikes

Link to this comment:

Share to:

Top Comments

  • Once again, thanks. Keep up the good work.

  • Parse error: syntax error, unexpected '[', expecting ',' or ';'

see all

All Comments (25)

Sign In or Sign Up now to post a comment!
  • @AlfaZoolington haha fixed, i'm not using a send field in my table, removed the "WHERE send='1'"

  • Alex nice u are super !

  • It's a great tutorial. But allways exists a "but".

    If you leave in the source code $mailcount there will be errors, when you delete a user from your database. In this way the $mailcount in incremented and the id field won't matched with the $mailcount value. Ex. Delete user with id 2 and then insert a new user, the next id will be 3. To avoid this problem you should replace in the while statement the $mailcount with $getrow['id'].

  • Great tutorial, would like it if you built upon this to incorporate a visual presentable newsletter that would be sent out to anyone who subscribed, so if you used the template design of your website for your newsletters that the user subscribed and received a graphically enhanced newsletter

  • @RCStudioProducer

     error_reporting(0);

  • Why do you use paragraph instead of line break?

  • @Gliitch3r i have the same problem he forget somting there :(

  • Brilliant Stuff! Keep it up

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more