Is it possible to query a database using a value passed in a URL, and write the result of the query to the URL using mod_rewrite?
问题 Is it possible to use mod_rewrite to write an htaccess rule that takes a url parameter value (for example: id=1, where 'id' is the parameter, and '1' is the parameter value), query a database with the parameter value specified, and then write the value returned from the query as a part of the url of the requested page? I know the basics of mod_rewrite, for example rewriting a url that appears like: www.example.com/item.php?id=1 to the following: www.example.com/item/1 An example of what I