View Single Post
Old June 3rd, 2008, 7:51 PM   #13 (permalink)
twirp
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,847 posts
Gave thanks: 28
Thanked 35 times
Quote:
Originally Posted by Sanehouse View Post
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'];
?>
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline   Reply With Quote