[solved] Textarea problem
Posted: Fri Feb 13, 2004 7:25 am
I have a textarea and when the user enters info into the textarea, they can click anywhere in the box, how do I force the curser to the left. Also when the form is submitted, if there is no info entered into the box, it is submitted with spaces, so mySql shows that it is not null. I have tried stripslashes and trim......Help!!
Here is my code:
?>
Here is my code:
Code: Select all
<tr>
<td>Required:</td>
<td><textarea rows="5" cols="30"
name="r_experience">
<?php echo trim($edit?$positionsї'r_experience']:''); ?>
</textarea></td>
</tr>
<tr>
<td>Preferred:</td>
<td><textarea name="p_experience" rows="5" cols="30" wrap="physical">
<?php echo $edit?$positionsї'p_experience']:''; ?>
</textarea></td>
</tr>