converting a form from text to textarea
- by David Cook
I have a form created to pull PHP values into my database.
I created the form with all type="text" constructions. What follows is the code that used to set up the input of data and confirmed that it is functional.
<label>About Me: <input type="text" name="BIO_info"/></label>
I converted the input to a textarea and adjusted some parameters for proper display. Unfortunately, it has broken the ability for the script to function. What follows is the code I wrote to convert and store from a text area input.
<label for="BIO_info" style="
margin-bottom: 500px;
margin-top: 2000px;
">About Me:
<textarea name="BIO_info" rows="20" cols="60" style="resize: none; overflow-y: hidden;vertical-align:middle;"></textarea>
<p>
I would appreciate any suggestions.