I have done everything he said on Mr. Ray Paseur article , it works perfectly fine. I created another page,
I use $uid = access_control(); it works fine too, I wrote
echo "<br/>HELLO $uid AND WELCOME TO THE ACCESS CONTROLLED PAGE<br>"; it shows the uid of the user.
I created another column on the database that shows the names, it's called "names"
how can print the name of the person instead of his $uid?