Include problem

From: Date: Fri, 23 Dec 2005 04:24:20 +0000
Subject: Include problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-26591@lists.php.net to get a copy of this message
I recently allowed one of my friends to host their site on my server, and we realized that when you click a link, it doesn't include the content into the main page. I'm not sure what would cause this, but the include code is the following: <?php if ($page == "") { include("news.php"); } else { include "$arp.php"; } ?> The function is to by default, include "news.php" and then when you click a link, it should include the new page's content into the content box on the website. Instead, it doesn't show anything. I thought it might have been a browser problem, but I tested it with the newest FireFox and IE. Any help would be highly appreciated. Regards, Ken Yarbrough

« previous php.windows (#26591) next »