Coder1
Aricles and Screencasts by Mike Milano
Today is: 11 March, 2010
Check todays hot topics or new pictures
Aricles and Screencasts by Mike Milano
Today is: 11 March, 2010
Check todays hot topics or new pictures
SimplenewsSubscribe All Users to a Simplenews NewsletterThere's been a couple times where I've had to subscribe all users to a new newsletter. I started out with a snippet I found which cleans up the subscriptions, but I lost the link or I would have referenced it here. Here's the code that will subscribe all users to newsletter node id 16. Note I'm using mysql_insert_id() as a quick fix so you will need to use another method if you're not using mysql.
|
|||
|
Copyright © 2008, Mike Milano
|