salve a tutti qui sotto posto il codice di un area protetta gestito dalla tabella "users".

codice:
<?phpsession_start[COLOR=#333333 !important]([COLOR=#333333 !important])[/COLOR][COLOR=#333333 !important];[/COLOR][/COLOR]
if[COLOR=#333333 !important]([COLOR=#006FE0 !important]![/COLOR][COLOR=#C00000 !important]isset[/COLOR][COLOR=#333333 !important]([/COLOR][COLOR=#002D7A !important]$_SESSION[/COLOR][COLOR=#333333 !important][[/COLOR][COLOR=#DD1144 !important]'userid'[/COLOR][COLOR=#333333 !important]][/COLOR][COLOR=#333333 !important])[/COLOR][COLOR=#333333 !important])[/COLOR][COLOR=#006FE0 !important][/COLOR][COLOR=#333333 !important]{[/COLOR][/COLOR]
[COLOR=#006FE0 !important][COLOR=#C00000 !important]die[/COLOR][COLOR=#333333 !important]([/COLOR][COLOR=#DD1144 !important]'Bitte zuerst <a href="login.php">einloggen</a>'[/COLOR][COLOR=#333333 !important])[/COLOR][COLOR=#333333 !important];[/COLOR][/COLOR]
[COLOR=#333333 !important]}[/COLOR]

[COLOR=#999999 !important]//Abfrage der Nutzer ID vom Login[/COLOR]
[COLOR=#002D7A !important]$userid[COLOR=#006FE0 !important][/COLOR][COLOR=#006FE0 !important]=[/COLOR][COLOR=#006FE0 !important][/COLOR][COLOR=#002D7A !important]$_SESSION[/COLOR][COLOR=#333333 !important][[/COLOR][COLOR=#DD1144 !important]'userid'[/COLOR][COLOR=#333333 !important]][/COLOR][COLOR=#333333 !important];[/COLOR][/COLOR]

[COLOR=#C00000 !important]echo[COLOR=#006FE0 !important][/COLOR][COLOR=#DD1144 !important]"Hallo User: "[/COLOR][COLOR=#333333 !important].[/COLOR][COLOR=#002D7A !important]$userid[/COLOR][COLOR=#333333 !important];[/COLOR][/COLOR]
?>
ora con il "userid"
vorrei richiamare una tabella chiamata riepilogo_inserimenti e far stampare a video soltanto il numero "userid" uguale a il numero "userid".
in modo che ogni utente veda solo i suoi dati.

spero di essere stato chiaro
vi ringrazio per il vostro aiuto