This is what the PHP manual said:
PDOStatement::fetchAll() returns an array containing all of the remaining rows in the result set. The array represents each row as either an array of column values or an object with properties corresponding to each column name. An empty array is returned if there are zero results to fetch, or FALSE on failure. http://php.net/manual/de/pdostatement.fetchall.php
The thing is I get the FALSE returned always, if there is no other thing to fetch. (For example if I do an SQL UPDATE or INSERT).. Even if there was no problem and everything worked just fine.. What can I do about that? I want to notice if there went something wrong.
Thank you in advance :)