php select offset code example Example: mysql limit SELECT * FROM `members` LIMIT 1, 2; or $sql = "SELECT * FROM Orders LIMIT 30";