F a s d a b
Fast and simple database abstraction
limit

string limit(integer rows [, integer offset])

<?php
require_once("fasdab.mysql.php");

$db = new Fasdab("localhost""username""password""database");

# Selecting 10 rows. Offset: 0:
$db->query("SELECT * FROM users ".$db->limit(10)."");

# Selecting 10 rows. Offset: 10:
$db->query("SELECT * FROM users ".$db->limit(1010)."");

# Selecting 10 rows. Offset: 20:
$db->query("SELECT * FROM users ".$db->limit(1020)."");
?>