I want to be able to store the variable and value in a database but use php to turn them into a url variable combo.
Ok lets say I have a database table called locations with this structure
I want the code to take location_type as the variable and location_name as the value
like lets says location_type has the value village and location_name would be leaf
the url would be rpg.php?rpg=naruto&village=leaf
the rpg part will be hard coded but I want to dynamically create the(highlighted in red)
from the database, does anyone know of a good way to do this?