Re: Next and Previous

From: Date: Wed, 15 Jan 2003 02:25:39 +0000
Subject: Re: Next and Previous
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-131645@lists.php.net to get a copy of this message
Let's see i solved thhe problem... I did <? echo $ID-1; ?> since I was making the select with WHERE ID = '$ID' so I get the var $ID., Thx for the help of all Miguel "Matt" <mschroebel@epooch.com> escreveu na mensagem news:034901c2bc37$41429160$299aa8c0@epooch.com... > >"Miguel Brás" <molino26@netcabo.pt> wrote in message > news:20030115012159.51386.qmail@pb1.pair.com... > > That's not the case, I tested it on ID549 and the previous one should be > 548 and he still assume -1 > > Works for me. Are you adding the ?ID=500 to the url? If you don't have > that, then the ID is 0, so you get the 1 and -1. > >

« previous php.general (#131645) next »