I have the code below.I know that the query has 1 column as result but the code return false for the row.
What is wrong?
$query = "select ac_min_price,ac_final_date from auction_products
$idresults = $dbh->prepare(query);
$row = $idresults->fetch(PDO::FETCH_ASSOC);