View Single Post
Old 12-15-2012, 07:34 PM   PM User | #1
arava
New to the CF scene

 
Join Date: Dec 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
arava is an unknown quantity at this point
subscribe/unsubscribe to/from article using php/ajax

I'm using a news script. Users can login and submit articles. Now I like to give subscribe/unsubscribe feature per articles to the logged in users so they'll receive emails if there is any changes to the articles. I've created a table with 2 fields. userID, articleID. now i want to have subscribe/unsubscribe button like submit to facebook/twitter buttons. how can I do this without page refresh. If the used subscribed to the news, unsubscribe button should show there.

How can I do this?
arava is offline   Reply With Quote