I'm new here and new in php world.
I'm making web page using mysql and php. Need to display on images and data like a search results on another page. In wamp I create a database 

This is a search form with php 
connection whit db is working
this is message
**( ! ) Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\wamp\www\vezba 3\rezultati-pretrage.php
But im note for sure the problem is only in this line
Blow my head to figuring out this
PLEASE HELP
    <?php
$sql = "SELECT * FROM artikli";
if($result = mysqli_query($db, $sql)){
    if(mysqli_num_rows($result) > 0){
        echo "<table>";
            echo "<tr>";
                echo "<th>id</th>";
                echo "<th>cena</th>";
                echo "<th>model</th>";
                echo "<th>slika</th>";
            echo "</tr>";
        while($row = mysqli_fetch_array($result)){
            echo "<tr>";
                echo "<td>" . $row['id'] . "</td>";
                echo "<td>" . $row['cena'] . "</td>";
                echo "<td>" . $row['model'] . "</td>";
                echo "</br>";
                header("Content-type: image/png");
                echo '<img src="'.$row['slika'].'"/>';
            echo "</tr>";
        }
        echo "</table>";
    }
}   
// Close connection
mysqli_close($db);
?>
 
     
    