How would I use a switch on a get array?
for example page=links would display links and default it displays news? because this isn't working.
switch($_GET['page']) { default; NEWSGET(); break; case "affiliates"; LINKS(); break; }
after case whatever you need to put : instead of ; also put your default at the end.
switch($_GET['page']) { case "affiliates": LINKS(); break; default: NEWSGET(); break; }