Here is what i have:
<?php
$catid = $GET['catid'];
$subid = $GET['subid'];
$Number = $_GET['Number'];
if (!$Number)
$Number=5;
?>
index.php :
<a href="test.php?catid=Business: general">Business: general</a>
<a href="test.php?catid=Business: media">Business: media</a><a href="test.php?catid=Companies">Companies</a>
index.php?catid=Business: general
if ($catid != null ) //url: test.php?catid=x&suib=x
{
if ($catid == "Business: general" && $subid == 0)
{
echo "<a href=\"test.php?catid=$catid&subid=Business_general/Entrepreneur-news\" > Entrepreneur";
}
...
}
so now the header shows the following:
http://www.somesite.com/test.php?catid=Business: general
and if someone did the following
<select name="Number" onchange="window.location=('test.php?Number='+this.options[this.selectedIndex].value)">
than my new header would only show:
http://www.somesite.com/test.php?Number=X
I want is this:
http://www.somesite.com/test.php?catid=Business: general&Number=X
so how exactly can i do this ?
javascript how so ? can you point me in the right direction ?
thanks