RE: [PHP] mssql_data_seek offset error
| From: | Jay Blanchard | Date: | Tue, 09 Mar 2004 20:51:30 +0000 |
| Subject: | RE: [PHP] mssql_data_seek offset error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179921@lists.php.net to get a copy of this message | ||
[snip]
I am using mssql_data_seek() to move the cursor to a particular row for
paging.
$cnt = mssql_data_seek($result, $i);
This works fine until the variable $i reaches a value of 9 and seemingly
higher. (at least 10, I haven't gone higher)
Then I get this error;
mssql_data_seek(): Bad row offset in [snip] on line: x
The line in question is the one above.
Why does it work fine until it reaches 9?
Why can't the offset go above 8?
[/snip]
How many rows of data do you have? I would have to bet 9 rows.