I have a textbox on my form. I type in some text, then I submit the form, and it seems that my script doesn't see the text in the input element and treats it like empty:

$invname = $_POST['invname'];
if($invname == '') {print "You have not entered the name of your invention, please go back and try again.";}

What, do you think, might cause it?

Here is the HTML:

<form id="form" action="page3_product.php" method="post">
				<input type="hidden" name="inventorid" value="<?php echo $inventorid; ?>" />
				<input type="hidden" name="firstname" value="<?php echo $firstname; ?>" />
				<input type="hidden" name="email" value="<?php echo $email; ?>" />


		<label for="invname">1. What is the name of your invention?
		<input type="text" name="invname" id="invname" />
<a href = "page3_product.php"><img src = "img/submit_button.jpg" alt = "submit" /></a>

the reason is because you're not submitting the form in the first place , use an in put type submit to image instead

Oh my goodness...
Thank you! :$