Re: Browse database records [RFC]

From: Date: Tue, 30 Oct 2001 16:13:47 +0000
Subject: Re: Browse database records [RFC]
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2451@lists.php.net to get a copy of this message
Bertrand Mansion schrieb: > Is this pager thing compatible with Oracle ? > If so, it would be quite interesting to see how you handle this as > oracle sql does not have 'limit'. Yes, it is compatible because it doesn't use any optimization like "limit" or "top". It's as simple as this: $i = 0; while ($i<$this->pageSize) { if (!$row = $this->dbresult->fetchRow(DB_FETCHMODE_ASSOC, $rowstart+$i+1)) break; [...] $i++; } Guido --- Guido Schoepp, gusmail@gmx.net

« previous php.pear.dev (#2451) next »