okay so im using switch function for navagtion on my site
and i rain into a big design flaw
case copstories:
switch ($_GET['copstories'])
{
case post:
include("$siteurl/copstories/post.txt");
break;
case postprocs:
include("$siteurl/copstories/postprocs.txt");
break;
default:
include("$siteurl/icopstories/copstories.txt");
break;
}
break;
now when people go to copstories i want them to go to
<? } ?>
<?
if ($numberOfRows == $limitPerPage)
{
?>
<a href=<? echo $PHP_SELF; ?>?id=copstories&?startLimit=<? echo $nextStartLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>&sortBy=<? echo $sortBy; ?>&sortOrder=<? echo $sortOrder; ?>">Next <? echo $limitPerPage; ?> Results</a>
and the switch statment wont allow because it sees copstories and goes to the default what to do?