2016-03-17, 07:27 AM
I want to get all the email from the database of mybb. How can I change this code for mybb?
What is the right synthax for this, so I can get all the emails?
$sql = 'SELECT email FROM users';
$result = mysql_query($sql);
foreach($result as $results){
echo $results."<br />";
}
What is the right synthax for this, so I can get all the emails?