im trying to display the picture saved in the database using Php, but what i get is Url link which was saved in the database and not the picture, i think the syntax is wrong.
echo "
echo "
NameDescriptionPriceManufacturerImage";while($row = mysql_fetch_array($result))
{
echo "
";echo "
" .$row['Name']."";echo "
" .$row['Description'] ."";echo "
" .$row['Price'] ."";echo "
" .$row['Manufacturer'] ."";echo "
" .$row['ImageURL'] ."";echo "
";}
echo "
";?>
解决方案
You need to construct an element, not just output the image URL.
Try replacing this: $row['ImageURL']
With this: "