Jump to content

How do I get the value of the internal pointer of a mysql result?


diegueins

Recommended Posts

as far as i know, you can't. you can set where to put the internal pointer with mysql_data_seek() and you can find out the number of rows in the result with mysql_num_rows() but i can't find anything on returning where the internal pointer is. my guess is, you could use mysql_num_rows() to find out the pointer's range then use mysql_data_seek() to set it where you want then you would know where the pointer is and your own code would maintain that knowledge.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.