mod rewrite ... directory to variable
I wonder if anyone would be able to give me a hand with this. I am green when it comes to mod rewrite hence my question.
What i want to accomplish is to have directory such as the one below:
Domain name registration, web hosting and VPS hosting | Domain.com
to be turned into a variable so that i can pull the information on a given user in this case 'user1' from the database.
I don't have any issues with php or myslq queries ... my only issue is with getting the variable.
My current setup is getting a bit much to handle as i have to many users where each of them have their own directory. I want to avoid that and have a single file there the information will be displayed.
I hope someone will be able to help me with this.