Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: E-mail PHP list modifications?  (Read 6938 times)

0 Members and 1 Guest are viewing this topic.

Rafael_XCX

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
E-mail PHP list modifications?
« on: August 12, 2006, 08:55:39 am »

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

Code: [Select]
<?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?
Logged
Pages: [1]   Go Up
 

Page created in 0.106 seconds with 19 queries.