Originariamente inviato da piero.mac
prova con UNION.

codice:
(select id
from tabella
where id < $tuo_id
order by id desc
limit 1)
UNION
(select id
from tabella
where id >= $tuo_id
order by id asc
limit 2)
ottieni tre record:

id previus
id corrente
id next
tiro su questa discussione...
come li stampo a video questi tre record??