PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Well, I would say that you have a problem on err.php as that is the file that will get included whenever $_GET['category'] is set to anything, since on the 4th line you are saying $category is either True or False, depending if $_GET['category'] is set. So therefore, none of your if conditions will ever be true, so $page will get set to $err.
To go further than this, we would need to see the contents of err.php,
<?php
include "main_head.php";
include "css.html";
$category=$_GET['category'];
$file=$category.'.php';
if(file_exists($file))
{
include($file);
}
else echo "Category Not Found!";
include "main_foot.php";?>
Now about the problem....Due to my carelessness,this problem occured!
The file "mycss.css" has format .css,but I added a php script on it...check here http://topz.iwebs.ws/mycss.css
Thanx for the help anyway....please suggest me if you think there's another problem.