La tabella ha due campi id_utente e admin (questo campo è compilato col num. 1)
Per quanto riguarda gli errori, è stato soltanto abitudine.
Ho provato anche così
Non mostra il link.codice:$sql = "SELECT id_utente FROM struttura_admin WHERE id_utente = '".$id_utente."' AND admin = '1'"; $res = mysql_query($sql); if($res && mysql_num_rows($res) > 0) { $risultato=LinkGestione('Gestione2', 'core/screen.php'); echo $risultato; }
Ti ringrazio ancora per l'attenzione!