Mi spiegheresti però passo passo.., postandomi il codice così come va inserito nella pagina php relativa.., come posso adottare questo tuo utilissimo (per me) codice?Originariamente inviato da nicola75ss
codice:select sum(terzo) as totale from ( (select terzo from tabella where id < 1 order by id desc limit 1) union all (select terzo from tabella where id > 1 order by id limit 1) ) as tab
Sono abbastanza alle prime armi per quanto riguarda la gestione approfondita dei records e campi mysql.
GRAZIE ancora
Tom