I am using PHP PDO extension to create a list of all items from a DB category table. The expected results are not correct, only one row of data returned instead of all rows
You have to use fetchAll like below:
$rows = $_stmt->fetchAll(); print_r($rows);