Placing a MySQL variable inside <img src&ldquo;xxxxx&rdquo;>

This might sound a little vague, but I'm looking to place a variable from a MySQL database inside a line of HTML. Currently it looks like this:
Xt2f3.png
. Below is the code I am using.Thanks!\[code\]echo "<table border='1'>";echo "<tr> <th>Helo</th> <th>Class</th> <th>Need</th> </tr>";// keeps getting the next row until there are no more to getwhile($row = mysql_fetch_array( $result )) { // Print out the contents of each row into a table echo "<tr><td>"; echo $row['Icon']; echo "</td><td>"; echo $row['Class']; echo "</td><td>"; echo $row['Need']; echo "</td></tr>"; } echo "</table>";?>\[/code\]
 
Back
Top