ID: 24540 Updated by: [EMAIL PROTECTED] Reported By: info at php-power dot it -Status: Open +Status: Feedback Bug Type: SQLite related Operating System: Windows XP PHP Version: 5.0.0b1 (beta1) New Comment:
So is it working? If not, can you clarify what the problem is? :) Previous Comments: ------------------------------------------------------------------------ [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 ... ------------------------------------------------------------------------ [2003-07-08 10:56:05] info at php-power dot it Description: ------------ The function sqlite_seek() not return a requested line, but the row successive. Reproduce code: --------------- $result = sqlite_query('SELECT * FROM test', $conn); if (sqlite_seek($result, 1)) { $row = sqlite_current($result, SQLITE_NUM, true); } Expected result: ---------------- The first row of table. Actual result: -------------- The secon row of table. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24540&edit=1