Add image to echo in php table?

Spit Fire

New member
How would I make it load an image on every line of the table under the skill column? the image is at img/chicken.png

I want it to look like
skill...playername...level...experience
img....rawr123....99....1232222
img....quack.....34......12222


echo "<center>";
echo "<table border='1'>";
echo "<tr><th>Skill</th><th>Player Name</th><th>Level</th><th>Experience</th></tr>";
while($row = mysql_fetch_array($result)){
echo "<tr><td>";
echo $row['playerName'];
echo "</td><td>";
echo $row['lvl'];
echo "</td><td>";
echo $row['xp'];
echo "</td></tr>";
}
echo "</table>";
echo "</center>";
}
 
Back
Top