however i would like to display and image using a file location stored in my database..
i have
Code: Select all
echo "<td>" . $row['Price'] . "</td>"; // this displays ok
echo "<td>" . $row['Status'] . "</td>"; // this displays ok
echo "<td>" . $row['img_thumb'] . "</td>"; // this displays the file location OK
i have tried the following but no joy
Code: Select all
echo "<td>"<img src= . $row['img_main'] ./> "</td>";
echo "<td>"<img src=" . $row['img_main']" ./> "</td>";