how can I get the MySQL query result instead of the whole table?
I want to run this query
SELECT * FROM cars where manufacture = ‘Honda’ ORDER BY id ASC LIMIT 100
I try to modify the below line and it works to some extent but not working properly?
function &loadCars($db){
$select = $db->prepare(“SELECT * FROM cars ORDER BY id ASC LIMIT 100”);