Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Exporting email addresses.
#11
Not Solved
I create a new php file, called newsletter and I link it and copy all email address. I think it's better.

But if I was export username and email?
[Image: k224gi.jpg]
#12
Not Solved
^ you can try using code like below
<?php
define("IN_MYBB",1);
include("global.php");
$result = $db->query("SELECT * FROM ".TABLE_PREFIX."users");
while ($row = $db->fetch_array($result)) {
echo $row['username'].' &rarr; '.$row['email'].'<br />';
}
?>
#13
Not Solved
sorry again, for separator it's better a "," not an arrow
[Image: k224gi.jpg]
#14
Not Solved
(04-17-2015, 03:17 PM)caygri Wrote: sorry again, for separator it's better a "," not an arrow

Replace &rarr; with a comma in the code (you'd probably want to remove the whitespaces around it as well).
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
#15
Not Solved
Works great, thanks !
#16
Not Solved
I found problem with copy&paste to Mailchimp and MailUp...it's view like one and unique row...it's possible to create a little table?
[Image: k224gi.jpg]


Forum Jump:


Users browsing this thread: 1 Guest(s)