I have a text box that I use as a form on a website.
I usually use the text "placeholder" inside, but I need this information for editing.
What I did before was just passing the information from my database to the form's βvalueβ attribute. Then the form just appears with my data ready for editing.
For some reason, although it doesnβt work with my text box!
Here is my code:
<textarea value='<?php echo $info?>' class="form-control" id="message" name="message" rows="5"></textarea>
I know this is not data, because iv repeated it elsewhere and in order. I also tried
<textarea value='hi' class="form-control" id="message" name="message" rows="5"></textarea>
nothing is displayed.
What's happening? I have been doing this all the time. Im using bootstrap 3, can this have something to do with this?
html twitter-bootstrap
Nick lK
source share