[PHP-DB] Re: about resultset internal pointer

2003-08-28 Thread Peng Cheng
I agree what David says. but the point is if someone else moved the pointer using mysql_data_seek($i) and he didn't tell me how much $i is, or I use mysql_data_seek so many times that I can't remember the sum of the offsets. I don't think write a tracker is a feasible way, because there are so

[PHP-DB] Re: about resultset internal pointer

2003-08-14 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... 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