E-mail PHP list modifications? E-mail PHP list modifications?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

E-mail PHP list modifications?

Started by Rafael_XCX, August 12, 2006, 08:55:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rafael_XCX

Hi! Please, I saw a code you guys did here for someone to list all the registered e-mails:

<?php

define
('IN_COPPERMINE'1);
require 
'include/init.inc.php';

$test db_query("SELECT DISTINCT(user_email) FROM {$CONFIG['TABLE_USERS']} WHERE user_email <> ''");

while (
$row mysql_fetch_assoc($test))
echo $row['user_email'] . "<br />";

?>


Can you please adapt it to show the username, e-mail and location? Like this:

John
john@hotmail.com
England

Bob
bob@hotmail.com
USA

....

Can you please post the code here?