to start w/ half of my problem is that i've been fooling around w/ this Zend Development Environment Studio thing which i just d/l for evaluation. so, i got into the habit of "debugging" and "analyzing" each bit of code that i added-- just playing w/ it at first, and then of course obsessing over getting "no warnings, notices, etc"-- which i realized, i was probably better off after i turned off the Notices-- and, for example, it doesn't like this expression (and i understand the logic behind why it calls it an error...), but i never had a problem with
while ($row = mysql_fetch_array($result)) {
so you might understand why i seem to be having problems w/ rather elementary stuff-- i'm thinking here "normally, i'd have had this finished already-- what the...!?"... but, anyway--
the other part of the problem is the context-- i would have explained, but it takes me a g.d. novella to explain stuff, and i wanted to spare it-- but, here goes...
the HTML form is part of an include(), which itself is part of a sub-directory whose navigation works off of this function which Drakla helped me with a while ago (which i happen to like very much, but which i also had to butcher somewhat due to my client's requests -- so now it's only about 50% efficient -- NOTE: it used to have only one navigation include(), but now, because she wants these sub-groups, which you'll have to view to get it, i of course had to make sub-grouped includes() -- or i could have done some CSS madness, but... sigh...ANYWAY...).
re:$SERVER['REQUEST_URI']
i couldn't get Apache to work on this HDD, so i've got PHP5 as a CGI binary on IIS 5.1 because i couldn't get ColdFusion and ASP to co-habitate peacefully (work purposes... ech!) -- in other words-- one or the other wouldn't function, and for whatever reason, i couldn't get Apache2 to work. one only has so much time to fiddle when projects are due, ya know how it can be? frustrating indeed!
so, far as i understand, this is why $SERVER['REQUEST_URI'] doesn't work for me. i've attached a file so you can see the several different things i tried (which i found to be educational) -- FILE being the only one which identifies the include file itself, the others showing the larger file which calls the include.
so-- i think what you've told me about if (empty($_GET['var'])) is what i was looking for-- instead i was trying to use $var...
knowing now that i'm dealing w/ an include(), if you were able to suffer through this verboseness (sorry-- obessive disorder... honest!), do you have any other ideas which come to mind?
(i really do wish i could be more concise-- i try, as you might see from my much abbeviated first post! i realize it sucks to read-- i just can't "talk" any other way. i'm screwed up, sorry.)