How do I rename the url
with the contents of the database in PHP
using mod_rewrite
?
For example: I have in the database a table named urls
and I want to use this as follows. Let's assume that on my site I have a budget page. Each name that is registered in bd
I get and play in a variable there it creates an alternative type of url, but never leaves the same page. In the end it would look something like this.
default url: orcamento
custom url: joao.orcamento
maria.orcamento