<?php
include 'config/db.php';
$res = mysqli_query($conn, 'SELECT id, name, original_price, security_deposit FROM products ORDER BY id DESC LIMIT 2');
while($row = mysqli_fetch_assoc($res)) {
    echo $row['name'] . " - Orig=" . $row['original_price'] . " - Sec=" . $row['security_deposit'] . "\n";
}
?>
