So what i want is to display this > https://gyazo.com/308cad4839d01aa3712da1481de136c8 data in a bootstrap table via the username excluding the id field!
so if i have the script search for all of the rows that are "owned" by TheSocomj this one row should show up. If I add another field with TheSocomj that should show up too! So there would be multiple results!
I would be importing the username via
$_SESSION['username'] 
This is what i have so far but the output is blank in the table
<?php
                $con = new mysqli($servername, $username, $password, $dbname);
                if ($conn->connect_error) {
                    die("Connection failed: " . $conn->connect_error);
                } 
                $username = $_SESSION['username'];
                $sql = "SELECT year, make, model, price FROM user_cars WHERE username=$username"; 
                $result = $con->query($sql);
                if ($result->num_rows > 0) {
                while($row = $result->fetch_assoc()) {
                echo "<tr>";
                echo "<td>" . $row['year']. "</td> <td>" . $row['make']. "</td> <td>" . $row['model']. "</td> <td>" .  $row['price']. "</td>";
                echo "</tr>";
                    }
                }                           
                ?>
 
     
    