Ok so I got an arcade site, and I got mod rewrite to work.. if i want things simple that is. so instead of URL/Arcade?play=filename it re directs to URL/arcade/play/filename.html Well in order to compete with the other arcades, i need to rewrite it to something like this.. URL/arcade/play/game-name.html NOTE: I am unable to change the file names due to the script relying on those names for the inputation of high scores. Naturally I know that the game name will have spaces in it, so i will str replace spaces with hyphens, but how do i get it to where I can have the game name redirect it to the gamefile. I am almost there, i am just climbing over the hardest part of the mountain, and advice would be greatly appreciated.
I'm not sure what your asking for, but in the script when a game is displayed it connects to the mysql database. there is a table in there that stores all the game info. There is a column for 'filename' and a column for 'gamename'. When MYURL/Arcade?play=FILENAME it pulls the filename, and then from the database where get[play] = filename it pulls the other data 'gamename' and displays it on the page.