PHP $_POST, $_GET, and $_REQUEST keys

1bennyd

New Member
Is there ever a case (like some quirky browser) where a form input field's id becomes the key in $_POST, $_GET or $_REQUEST, instead of the field's name?We were having trouble with a field where the ID didn't match the name. Changing the ID to match appeared to fix the problem. The issue was purely PHP parsing; no JS involved. Coincidence? Google returns no such thing...A function (sorry, old php4 code) generates the field. Here's part of it\[code\]echo "<select name=\"$varName";echo "_dd\" id=\"$varName";echo "e_dd\">\n"; \[/code\]Removing the 'e' from that last line apparently fixed it. I didn't do it myself; someone here told me it fixed the issue. It didn't break every date field, it seemed to be an intermittent problem. That's why I immediately thought of some strange browser quirk.I've never seen such a thing before, so I was hoping someone here has.Thanks!
 
Back
Top