#24540 [Opn->Csd]: sqlite_seek()
| From: | helly@php.net | Date: | Tue, 08 Jul 2003 18:59:58 +0000 |
| Subject: | #24540 [Opn->Csd]: sqlite_seek() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43471@lists.php.net to get a copy of this message | ||
ID: 24540
Updated by: helly@php.net
Reported By: info at php-power dot it
-Status: Open
+Status: Closed
Bug Type: SQLite related
Operating System: Windows XP
-PHP Version: 5.0.0b1 (beta1)
+PHP Version: 4.3.3-dev
-Assigned To:
+Assigned To: helly
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-07-08 11:52:32] info at php-power dot it
Please,
they are 9 hours that I program :)
the example is:
Example:
sqlite_seek($result, 1);
sqlite_current($result);
return the row 2 of previous query
sqlite_seek($result, 3);
sqlite_current($result);
return the row 4 of previous query
etc ...
(this is the definitive example:P)
------------------------------------------------------------------------
[2003-07-08 11:45:29] info at php-power dot it
Thanks.
When I write sqlite_seek($result, 1); I creed that sqlite_cuttent()
return the first line to a query,
but the second line is returned :|
------------------------------------------------------------------------
[2003-07-08 11:32:09] wez@php.net
So is it working?
If not, can you clarify what the problem is? :)
------------------------------------------------------------------------
[2003-07-08 11:20:38] info at php-power dot it
I'm tired, naturally sqlite_seek() does not have the sign $
:)
------------------------------------------------------------------------
[2003-07-08 11:16:16] info at php-power dot it
Excused:
sqlite_seek() moves the pointer ahead to record requested
Example:
$sqlite_seek($result, 1);
sqlite_current($result);
result: 2 row of table
$sqlite_seek($result, 3);
sqlite_current($result);
result: 3 row of table
etc ...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24540
--
Edit this bug report at http://bugs.php.net/?id=24540&edit=1