about resultset internal pointer
| From: | Peng Cheng | Date: | Mon, 11 Aug 2003 09:32:51 +0000 |
| Subject: | about resultset internal pointer | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-29876@lists.php.net to get a copy of this message | ||
in php,mysql_seek can move the pointer, but you have no way to know where
the pointer locates currently.
i think some function should be added in the future version, like
mysql_getPointerPosition($rs) which returns a int as the position in
resultset. so it's would be easy to implements some pointer moving functions
like mysql_movenext(), mysql_moveprev,mysql_movefirst,mysql_movelast etc.