--- Chad Day <[EMAIL PROTECTED]> wrote: > if (!isset($startlimit)) { > $startlimit = 0; > } > > $endlimit = $startlimit + 10; > > $yourquery = "your query data LIMIT $startlimit, > $endlimit" > > that should give you enough insight on how to work it.
Nice example. As an interesting tidbit, the LIMIT clause is not standard ANSI92 SQL and was "invented" by PHP's creator, Rasmus. So, you can thank him for this useful clause. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php