Here's my form, i've truncated and added values to make it a bit to make it more readable
<form action="nodevote/5/add?destination=node/500" name="vote" method="post">
<input type="hidden" name="nid" id="nid" value="397" />
<select name="edit[vote]" id="edit-vote" onChange="form.submit()">
<option value="0" selected="selected">None</option>
<option value="1">1 out of 5</option>
</select>
</form>
So after i submit the form, here's the code that should pull the value from the hidden form element named 'nid':
<?php
print 'NID goes here';
if(isset($POST['nid']))
{
print $REQUEST['nid'];
}
?>
But nothing shows up! I don't know what i'm doing wrong or how to debug this.Any help would be great!