I have a huge amount of content that is stored in a MySQL database, which powers my app. I would like to make this info available online to provide content for non-app users as well as increase my website ranking.
The backend of the app is run on PHP/MySQL. I therefore would like to use PHP to generate these pages (is this the correct method?). I guess the PHP would take the structure of the url, for instance www.xxxx.com/viewer/**venue**/**id**
where the parts in ** ** are variable. How do I get PHP to route the request based on these?