[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] about resultset internal pointer

2003-08-14 Thread Peng Cheng
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

Re: [PHP-DB] ODBC Database

2003-08-14 Thread Peng Cheng
i have read an article on IBM's developerWorks website. its title should be Leverage your Microsoft SQL Server 2000 Skills to Learn DB2 UDB Version 8 that should help you. Gerard Samuel [EMAIL PROTECTED] ??:[EMAIL PROTECTED] Robert Twitty wrote: Unless I am mistaken, but isn't there an