mysite.com/hello? Hey, so I want to make it so instead of my URL displaying index.php?var=hello it just does /hello
I of course need to keep it so I can access the variable "hello" in my PHP script. I know this type of thing should be done in the .htaccess but I just can't seem to find any information on it. I also need to keep it so that instead of "hello" it can be anything. So I'll be essentially running a script that takes the variable then searches for it in my database and returns information accordingly, but index.php?var= is just extremely unsightly.
Any help? Thank you
I of course need to keep it so I can access the variable "hello" in my PHP script. I know this type of thing should be done in the .htaccess but I just can't seem to find any information on it. I also need to keep it so that instead of "hello" it can be anything. So I'll be essentially running a script that takes the variable then searches for it in my database and returns information accordingly, but index.php?var= is just extremely unsightly.
Any help? Thank you