I made a form wich is processed though php, and it works fine until I add the 'id' attribute in the submit button like this:
<input type="submit" name="post" id="newent" value="Post this item">
If I remove the id attr., then the $name variable prints "Post this item", but if I leave it there, then it's like the $name variable doesn't exist.
Can anyone help? thanks
(In case you're wodering why I need the id attr., it's because there are several submit buttons and I apply javascripts on them)