Hi guys. I’ve been trying to figure out whst s gone wrong with my code for weeks now and short of giving up on php and moving to ssi/css your my last hope.
I’m trying to get a link to display on my main page but it won’t show for love nor money. I can get the news page to show but nothing else. Here’s the code:
<?
$default_page="news";
if (!$id) {
$id="news/news.php";
} else {
$="$id";
}
if (!@include("$id")) {
include("404.html");
}
?>
The code for my link is:
<a href="?id=bakumatsu.html">Bakumatsu Kikansetsu Irohanihoheto</a>
My site:
http://sugoi-anime.110mb.com
yes it supports mysql and php
If anyone can offer some insight or even a better code that would be most helpful. An sorry for such a noobie question lol.
Thanx in advance,
-Crim