I think itโs really simple, but I canโt lower my head.
I would like to achieve something like this: Get all the names from the database. Get the first letter for each name. Show all 26 letters of the alphabet + numbers: ABCDEF, etc. .... 0-9
And just put a link to the characters that are the first letter of the username. In other words, something like this:
User names from the database โ Moonwalker, Tester, Admin, Tutorial, Arial
All characters are visible:
ABCDEFGH I JKLMNOPQRSTUVWXYZ 0 1 2 3 4 5 6 7 8 9
but only letters that have the same first letter as usernames are associated with something:
A BCDEFGH I JKL M NOPQRS T UVWXYZ 0 1 2 3 4 5 6 7 8 9
I know that this is possible, but I do not know how to do it.
Thanks in advance.
source
share