fai 2 livelli di permessi
es.
permessi :
ALTO -->VEDE TUTTO
BASSO-->VEDE SOLO NEWS CON PERMESSO ALTO
tabella news :
ID
TITOLO
NEWS
NPERMESSO ('alto' o 'basso')
tabella utenti
ID
UTENTE
UPERMESSO ('alto' o 'basso')
[per scegliere le news da visualizzare]
che ne dici?codice:if ($_SESSION['permesso']=='basso') { $sql2=" and npermesso='basso'"; } $sql="select * from news where id=$id ".$sql2;