A PDO & MySQLi PHP Pagination Class - PDO MySQLi Pagination class is a PHP pagination class that will work with either PDO, or MySQLi. The outputted pagination is served as a UL or as an array, and the options are extensive.
50
stars
27
forks
source link
White space before select statement breaks query. #3
If a query has any whitespace before SELECT, the substr_replace call in prepare_query fails.
I often write sql statements like below
A trim solves