Menu

function sqlite3_rewind()

Help
2007-01-26
2013-04-22
  • Dennis Kaplan

    Dennis Kaplan - 2007-01-26

    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

     
    • bfleisch

      bfleisch - 2007-04-05

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.