Re: Navigation through DB Queries

From: Date: Sat, 28 Oct 2000 04:04:27 +0000
Subject: Re: Navigation through DB Queries
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22410@lists.php.net to get a copy of this message
This should work for you. http://phpbuilder.com/columns/rod20000221.php3 Gary "Phillip S. Baker" wrote: > Okay I am pulling x number of records from a DB and displaying them. > And I want to display only 50 of those records on a page. > I get setting something like an $x and $y variable $x = 0 $y = 50 > SelectStmt = "....Limit $x,$y" > > Now at the bottom of the page I want to create a navigation so the user can > click on over to the next 50 records or back to the previous 50 records. > How would I write something like this? > > Thanks in advance. > > Phillip S. Baker > > phillip@wordsandimages.com > Words & Images > 1535 Seabright Avenue, Suite 100, Santa Cruz, CA 95062 > Direct Line (831) 420-2641 / Fax (831) 458-0808 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.Jean Baudrillard (1929), French semiologist.

« previous php.general (#22410) next »