I'm hoping there is a simple solution to this. I am using a form to submit some information. One of the boxes is a textarea. When i submit the form it runs this line of code:
if (!isset($_POST['textarea'])
it seems to register that there is type there regardless of whether I actually enter information. Is this a simple fix, or do I need to post code? The form code is as follows:
<form id="form1" enctype="multipart/form-data" name="form1" method="post" action="action.php">
<table width="618" border="0" cellpadding="10" cellspacing="0">
<tr>
<td><textarea name="reason" id="reason" cols="45" rows="10"></textarea></td>
</tr>
<tr>
<td><input type="submit" name="submit" id="submit" value="delete" /></td>
</tr>
</table>
</form>