According to what I've read about RESTful services, one is supposed to be able to get a "resource" (like a database record) using a request to a URL with the record id at the end, like this: localhost/my_records/1. Accessing such a URL would display a web page with the record information for id 1.
I need to implement something like this in PHP/Apache/MySQL but I am still relatively new to the language. The most I can manage to create is something like localhost/my_records/index.php?id=1.
Creating a ["/id"] url seems to require creating that folder. Is there any way to achieve this?