PreparedStatement - moved found rows calculation into execute()
PreparedStatement - moved found rows calculation into execute()

This fixes a potential hard-to-find bug if you have multiple prepared statements executed one after another but getFoundRows() called on them later:
$pstmt1 = ...->execute(); // statement with 2 rows
$pstmt2 = ...->execute(); // statement with 0 rows

...some code

$foundRows1 = $pstmt1->getFoundRows(); // returns 0 for the last statement executed - $pstmt2
$foundRows2 = $pstmt2->getFoundRows(); // returns 1 because the previous getFoundRows() call executed the FOUND_ROWS() query which returned a single row

With this fix, getFoundRows() will always return the correct value, AND you can call it multiple times now aswell.
jurchiks/dbhandler