The PHP code requires a loose PHP configuration. Example would be using a variable called '$view', but where did it come from?
May I suggest:
$view = isset($_GET['view'])?$_GET['view']:false;
Stricter code.
Log in to post a comment.