Results 1 to 2 of 2
  1. #1
    Join Date
    May 2012

    Question Unanswered: what is the use of mysql_data_seek?

    Hello friends,

    what is the use of mysql_data_seek?

  2. #2
    Join Date
    Nov 2004
    out on a limb
    Provided Answers: 59
    allows you to set the next row to be returned from the resultset.

    say you open a recordset and iterate through it. you can use mysql_data_seek to reset the pointer (the next row to be returned).
    ferinstance say you are creating "pages" of data. you coudl open the recordsset, then jump to the first row you want. if say your number of rows per page is 30, and you want page 5 then mysql_data_seek($result, 149) would set the internal row pointer int he resultset to row 150, bearing in mind its a zero based counter
    I'd rather be riding on the Tiger 800 or the Norton

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts