OK, I have a php page that query's a database and returns the correct results because it is passed variables when it is linked to...
<a href="staff.php?fromPub='.$pub.'&pubName='.$pubName.'" title="Go to staff">Go to staff >>></a>
That gives me this url ending...
staff.php?fromPub=thelion&pubName=The%20Lion
I pull out each staff member and now i want to create an anchor to each person.
So i tried this...
<a href="staff.php#'.$row["name"].'?fromPub='.$pubLink.'&pubName='.$pubName.'">'.$row["name"].'</a></li>
But it just loses the pubLink and pubName info so no staff are returned. Is it even possible to place anchors in a link which already is passing GET variables?
I hope this is understandable! Any ideas?
<a href="staff.php?fromPub='.$pub.'&pubName='.$pubName.'" title="Go to staff">Go to staff >>></a>
That gives me this url ending...
staff.php?fromPub=thelion&pubName=The%20Lion
I pull out each staff member and now i want to create an anchor to each person.
So i tried this...
<a href="staff.php#'.$row["name"].'?fromPub='.$pubLink.'&pubName='.$pubName.'">'.$row["name"].'</a></li>
But it just loses the pubLink and pubName info so no staff are returned. Is it even possible to place anchors in a link which already is passing GET variables?
I hope this is understandable! Any ideas?