You would have to use a script like this....
<?php
$dbName = "the name of your database";
$dbHost = "usually localhost";
$dbUsername = "the username thats granted db usage";
$dbPassword = "the password for the granted username";
$connect = mysql_connect('$dbHost','$dbUsername','$dbPassword') or die(mysql_error());
mysql_select_db('$dbName',$connect) or die(mysql_error());
$result=mysql_query("SELECT * FROM //name of table//", $connect);
$rowCheck = mysql_num_rows($result);
if($rowCheck > 0){
while($row = mysql_fetch_array($result)){
$email = $row['email'];
echo "$email";
}
}
?>
Something like that. If you need anymore help just ask.