Create Dynamic URL PHP MYSQL

I need some help creating a dynamic url for each file uploaded on the webpage. For example, I want something like this: https://example.com/php?id=1. I would like to know how I can create this from mysql and php.

Thanks

2 posts were merged into an existing topic: PHP How To Create new Url for New Post

Sponsor our Newsletter | Privacy Policy | Terms of Service