Hi,
The exec function should return false if an error occurs, but in my case, it generates an exception.
Code:
$results = $this->db->exec($sqlcommand);
$sqlcommand comes from an admin page from my CMS used to run sql queries or commands.
I'm running on f3 3.5 and I'm using sqlite.
I also tried to catch the PDOException without success.
Thanks