$DBHOST = "localhost";
$DBUSER = "signature";
$DBPASS = "xxxxxxxxx";
$con = mysql_connect($DBHOST,$DBUSER,$DBPASS);
if (!$con)
{
// probably not a great idea....
die('Could not connect: ' . mysql_error());
}
else
{
mysql_select_db("signature", $con);
$query="SELECT * FROM emails order by id desc;";
$result=mysql_query($query);
$num=mysql_num_rows($result);
$i=0;
while ($i < $num) {
print "