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" <[EMAIL PROTECTED]> escreveu na mensagem 034901c2bc37$41429160$[EMAIL PROTECTED]">news:034901c2bc37$41429160$[EMAIL PROTECTED]... > >"Miguel Brás" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > 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. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php