converting a form from text to textarea

Posted by David Cook on Stack Overflow See other posts from Stack Overflow or by David Cook
Published on 2012-09-28T09:28:45Z Indexed on 2012/09/28 9:37 UTC
Read the original article Hit count: 191

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about php

Related posts about variables