View Single Post
  #7  
Old 10-29-2004, 07:05 AM
XinG
Unregistered

Posts: n/a

Also you could use this too, it will go into your index.php

<?
if ($page == "") $page = "news";
if (!file_exists($page.".php")) $page = "error";
include($page.".php");
?>

if you want it to be ./?view=news then change the "page" with view, simple as
Also, if a page doesnt exist when they try click a link, an error will appear
Reply With Quote