Quote:
Originally Posted by Sanehouse
What I don't understand is why it suddenly stopped working. I never used the GET thing. The pages are located in a subfolder and at the top of the page I have this:
PHP Code:
<?php if (!$id) $id = "home"; ?>
|
Was PHP recently updated on your server?
Maybe try:
PHP Code:
<?php if (empty(trim($id))) $id = "home"; ?>
or
PHP Code:
<?php
$id = (empty(trim($_GET['id'])) ? "home" : $_GET['id'];
?>