PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
by the way this not safe to do it this way because the visitors can modifier the url value so as it for the GET. You should make an array whom content the accepted values, then check if it is a correct value with in_array(). If it is not a element of the array you'll set it up to "home".