I have my navingation system working on three variables
$cat, $id and $ sub...
when I call any of my page.. I call
www.myhomepage.com/index.php?cat=1&id=3&sub=4
in this manner i got the page from 1st category, 3rd ID and 4th SubID....
I have my database which tells what pagefile is for that requested url......
I want to add error 404 page to my site navigation when requested url is wrong or the file dont exist...
Is this the rite method for error pages.... and if so then how to check if the corresponding values exist in the database... I have my database configured... just an idea required... thanks in advance