[thelist] PHP and anchor link problem

sbeam sbeam at syxyz.net
Wed Feb 25 16:59:42 CST 2004


On Wednesday 25 February 2004 17:50, Robin Hastings wrote:
> The page that
> I've set up so far is at http://www.mrrl.org/admin/policies.php. It
> calls the sections.php page which does what it's supposed to, but
> then when I click on an internal anchor, I lose the ID variable. Any
> ideas on how to get around this?? Thanks,

your #anchor is coming before the "id" GET parameter so the id is never 
actually seen by PHP. Also you need a ? to separate the 
path/filename.php from the GET values...

so change the links from
http://www.mrrl.org/admin/sections.php#1&id=1
to
http://www.mrrl.org/admin/sections.php?id=1#1


More information about the thelist mailing list