2014-11-22, 10:16 PM
I'm trying to use script to list all emails in my database on the screen but all im getting is a blank screen.
using the code below.
using the code below.
<?php
define("IN_MYBB",1);
include("global.php");
$result = $db->query("SELECT * FROM ".TABLE_PREFIX."users");
while ($row = $db->fetch_array($result, MYSQLI_NUM)) {
echo $row['email']."<br />";
}
?>