I wrote the sqlite3_num_rows function which you can find in this forum. However I have not figured out how I can rewind the result back to the first row. So it can be used again without having to fetch the query again.
Let me know if you figure that out.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wrote the sqlite3_num_rows function which you can find in this forum. However I have not figured out how I can rewind the result back to the first row. So it can be used again without having to fetch the query again.
Let me know if you figure that out.
Thanks
Hi denis,
The best thing to do would be to save the result in an array, and walk in this variable (with PHP function foreach() or reset() / next() ).
Bruno