|
|
Registered User Currently Offline
|
Posts: 12
Join Date: May 2005
|
My site consist of php and I use this code..
<?php
$va = $_GET['va'];
if($va == "") {
include("home.php");
}
else {
if(file_exists("$va.php")) {
include("$va.php");
}
else {
include("error.php");
}
}
?>
Basically what I wanted to do was if they click on va?=forum it would show up the forum inside the layout itself. Do you allow this, or the forum has to be seperate? This would help alot, because my layout is nice and I just want a neat mini forum inside of it. It would be really appreciated if you can help me fix this problem. Above the forum shows
Quote: Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/public_html/index.php:12) in /home/virtual/public_html/forum.php on line 18
And when I login it opens the forum seperately. I want it to load inside the layout as well. Thanks for your help.
|