After two days of search I come here with the hope of finding a solution. im trying to display the images that uploaded into my database in the Product table but i dont know how to build the right way on php file
$result = mysql_query($selectString);
while ($row = mysql_fetch_assoc($result))
{
echo("<tr>");
foreach($row as $index=>$value)
//to show the Product image. here is what im not sure about it
if($index == "Product")
{
echo("<td><img src = $value alt = 'Product_Image'></td>");
}
else{
echo("<td>$value</td>");
}
Aucun commentaire:
Enregistrer un commentaire