Using the code you posted earlier:
$result1 = mysql_query( "SELECT * FROM team);
print "<table border=2>";
while ($row1 = mysql_fetch_array($result1)) {
print "<td width="114\">" . htmlspecialchars ($row1['names']);
}
htmlspecialchars() just converts letters like "<" to "<", etc. If the text in your database is "<b>", then it will be translated to "<b>". This way, it will show up as "<b>", and not be interpreted as a bold tag.