I need a little help with using $_GET variables if possible. Right now I am using them to load different parts of my website when needed but I can't figure out how to clear the screen as if a new page were being loaded when the $_GET variable is set. I was wondering if it is possibele.
As an example say I have a sports categories page which lists all the sport available on the website, In the controller I have this piece of code which activates when the user clicks on football in the list of sports:
if (isset($_GET['football']))
{
....
}
So at the moment all of the football information is displayed along with all of the category information. Is there a way to remove the category information and just have the sports info there without using javascript?
Any pointers in the right direction would be really appreciated.
Thank You