Aqui tienes el codigo completo .
Código PHP:
Ver original<style>
.color_td {
color:#FFFF00;
background-color:#666666;
}
</style>
<?php
$dbname="unlockdatabase";
$tablename="login";
$query="SELECT * FROM $tablename where user='$usercred';";
print ("<table>");
{
print ("<TR class='color_td'>");
print ("<TD><b>$row[user]</b></TD>\n");
print ("<TD><b>$row[Creditos]</b></TD>\n");
print ("</TR>");
}
print ("</table>");
?>