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
echo "<select name=\"$varName";
echo "_dd\" id=\"$varName";
echo "e_dd\">\n";
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.
POSTor aGETrequest, PHP handles this request and manages thosePOST/GETvariables in the$_POSTand$_GETarrays. Your problem can't be caused by PHP, only the browser, that's the one generating the request. You can debug the request with e.g. FireBug.