Is anyone able to explain to me how to create dynamic page URLS with PHP that do not use variables at the end of the URL?
For example how could I website with the following URL work?
https://www.discogs.com/user/<username>/collection
Surely it's not that a folder exists for all users within the /users/ directory, so how is this done?
Another example I can think of is URL shorteners which must store data in a database. E.g. bit.ly/3vjqTCR
Apologies if this has been answered many times before, but I'm not sure what to search for to find the answer.