Database array

From: Date: Wed, 08 Nov 2000 21:26:08 +0000
Subject: Database array
Groups: php.general 
Request: Send a blank email to php-general+get-24388@lists.php.net to get a copy of this message
I have a MSQL database that hold 4 fields (date, userid, scores, comments). I open a new browser window and display the records with three buttons on the page (prev, next and edit record). I need to know how to move the array pointer to the next record when somebody hits next or the previous record one someone hits the prev button. I can access the data and display all the records at the same time, but I want to display only record at a time. I know there is a next($results) and prev($results) command, but I don't know how to incorperate it with html, javascript and PHP. If anybody could provide any assistance I would be very greatful. Thanks Jon joreid@hsc.utah.edu

« previous php.general (#24388) next »