I have a page which I enter thusly:
and inside mypage.phtml I do this:
$absid = $_GET["absid"];
Unfortunately, and I can't easily fix this in the short term, my
"somestring " may contain "absid=456" . I think this screws up
mypage.phtml as it then runs with a wrong value of $absid (456 instead
of 123). This is what I suspect is happening, anyway.
I guess PHP is looking at the URL and just scanning from left to right
looking for ?xxx=value and &xxx=value pairs, right? If so, is there any
way to make it ignore subsequent values of xxx?
Thanks,
-- tim
and inside mypage.phtml I do this:
$absid = $_GET["absid"];
Unfortunately, and I can't easily fix this in the short term, my
"somestring " may contain "absid=456" . I think this screws up
mypage.phtml as it then runs with a wrong value of $absid (456 instead
of 123). This is what I suspect is happening, anyway.
I guess PHP is looking at the URL and just scanning from left to right
looking for ?xxx=value and &xxx=value pairs, right? If so, is there any
way to make it ignore subsequent values of xxx?
Thanks,
-- tim
Comment