On Tuesday 07 October 2003 23:04, Ben Edwards wrote: > Been having a problem accessing a variable that is passed on a URL. > I've been developing PHP for years and this makes no seance. > > The variable I am trying to access in the script is $_section. I put > the following code at the beginning (before anything else apart from <?) > > echo "!$REQUEST_URI!$_section!"; > > I get the following output > > !/adultdyslexia.org/quiz.php?_menu=TOP&issue=1&_section=QUIZ&gen=Y!! > > So why is $_section blank!
Are any of the other variables there? What does print_r($GLOBALS) give you? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Today when a man gets married he gets a home, a housekeeper, a cook, a cheering squad and another paycheck. When a woman marries, she gets a boarder. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

