Simon Willison’s Weblog

MySQL: Get total number of rows when using LIMIT (via) Useful tip.