-
AuthorPosts
-
fiumeciane Friend
fiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
September 5, 2011 at 7:17 am #168180Hi, is there a way to extract (at once) all the email addresses of those who comment on articles?
Thanks
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
September 5, 2011 at 10:55 am #410729Hi,
What kind of extraction you are looking for ?
Via PHP code on live site or directly from database ?
Thank you
Viet Vufiumeciane Friendfiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
September 5, 2011 at 1:37 pm #410751<em>@jooservices 265318 wrote:</em><blockquote>Hi,
What kind of extraction you are looking for ?
Via PHP code on live site or directly from database ?
Thank you
Viet Vu</blockquote>Any, the simplest and most reliable.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
September 5, 2011 at 1:40 pm #410752Hi
Both of above is not target on simply or not. It’s target for who will use it or how will use it ?
If you want extract it and put it for another php for processing -> we’ll use php
If you want extract it and keep it as back-up / storing into another storage -> mysql query
Thank you
Viet Vufiumeciane Friendfiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
September 5, 2011 at 1:45 pm #410753<em>@jooservices 265347 wrote:</em><blockquote>Hi
Both of above is not target on simply or not. It’s target for who will use it or how will use it ?
If you want extract it and put it for another php for processing -> we’ll use php
If you want extract it and keep it as back-up / storing into another storage -> mysql query
Thank you
Viet Vu</blockquote>I just want to have a backup of my readers email (csv, txt, it does not matter).
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
September 5, 2011 at 2:19 pm #410764Hi
Please moment, i’m checking in code.
Thank you
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
September 5, 2011 at 2:33 pm #410770Hi
In you phpmyadmin table #__jacomment_items you can use this query for query all email records
SELECT email
FROM `joo_jacomment_items`
( please replace joo_ by your own prefix ).
After got result you can extract it 🙂
Thank you
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 3, 2011 at 7:41 am #416378Hi
Just wonder you can go and have done w/ my above suggestion ?
Thank you
Viet Vufiumeciane Friendfiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
October 3, 2011 at 4:11 pm #416489Correct string: SELECT email FROM prefix_jacomment_items WHERE email != ”
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 3, 2011 at 10:21 pm #416576Ya
it’s okay ! my query just as sample logic 🙂
Btw thank you for correction ,
Viet Vu -
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by jooservices 13 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum