having problems using hidden fields in forms
I'm trying to pass a value stored in a hidden field in a form over to my php script, but can't seem to get it to work.
<form action='scripts/proc_email_form.php' method='post' name='form' id='form' accept-charset='utf-8'>
<input type='hidden' name='unreguser' value='4' id='unreguser' />
<textarea name='message' rows='8'></textarea>
<input type='submit' value='Send' />
I have also tried using $_POST
$unreguser = $_REQUEST['unreguser'];