I have a form that has spaces in the input field names:
<td align="left" valign="top"><textarea name="Description of Services" id="Description of Services" tabindex="23"><?=htmlspecialchars($formData['Description of Services']) ?></textarea></td>
The reason for this is because the db designer (moron that s/he is) has field names with spaces in them and it was convenient for me to leave them in.
The problem I'm having is that the $POST data i get in php replaces all the spaces in those field names with underscores meaning that instead of $POST['Description of Services'] having the value, its $_POST['Description_of_Services'] instead. Is that part of the HTTP spec? Is it something PHP does? Is there any way to prevent it?
I've noticed that both IE and Firefox behave the same way so I'm wondering if it's PHP spec of http spec or something.