[Solved] How to put a image inside table from my database?


If you store your image path in the image field in your database, you can use this.

$allCarsResult = query("SELECT * FROM cars WHERE category_fk = 1");
while ($allCars = $allCarsResult->fetch_object()) {
    ?> 
    <img src="https://stackoverflow.com/questions/26971894/<?php echo $allCars->image; ?>" alt=" " />
    <?php
}

2

solved How to put a image inside table from my database?