hello,
I've got a media query which then loops the results, but the result is a image filepath, which i need displayed within an img tag to actually show the image, but cant figure out the correct syntax for it
<?
$result=mysql_query("SELECT filepath FROM uploads");
while($row = mysql_fetch_array($result, MYSQL_BOTH)){
<img src="<? echo $row['filepath']?>"/>
echo "<br />";
}
?>
<img src="<? echo $row['filepath']?>"/>
the bottom <img src= works, but i cant figure out how to add it inside a loop
any help really appreciated 🙂