[eluser]sore eyes[/eluser]
Can somebody advise me about cycling through database records. I want to show one record per page It’s a familiar database scenario. Navigation by buttons, ‘go first’ ‘go next’ etc. There are likely to be multiple users accessing the database at any one time.
For coding, there appears to be two navigation options for the buttons. Either one could use SELECT * FROM table LIMIT 17,1; for example, which would give the 18th record. This system uses the mysql record number.
Or one could use a given id for the records, say, client_id
I’m pretty much a newbie and can’t get an overall feel for which road to take.
My thoughts are that using the mysql record number has the disadvantage that with multiple uses the record set is constantly changing, making the navigation buttons more fragile. The client_id way enables one, when doing search, for example to end up at the same url address page that the navigation buttons are on.