FaaPz / PDO

Just another PDO database library
MIT License
316 stars 103 forks source link

statement->limit() #24

Closed srgzah closed 8 years ago

srgzah commented 8 years ago

Hi,

$statement->limit($number, $offset); not working properly. In MySQL this expression has the format [LIMIT [offset,] rows]

You have mixed up the parameters. $this->limit = intval($number).' , '.intval($end);

FaaPz commented 8 years ago

Thanks for mentioning! Just released v1.9.6 (8dc5d55a84b3824e508f611b23b329ac1ec5d0b2) with the fix included... :sweat_smile: