I have a database with the following
ID Nome
1 A
2 B
3 C
I would like that when accessing www.example.com/perfil.php
take all the information and print on the screen, however when accessing www.example.com/2/B
or www.example.com/1/A
just take this information and print it on the screen.