I have a table that receives data from a SQL database through PHP and it works well but I have a problem with long text. My input field, where I receive data, is always small even if I edit height/width with CSS.
Even tried to use contenteditable="true"
on input but doesn't work.
The HTML part (JSFiddle)
<table>
<tr>
<td>NAME</td>
<td>
<input class="form-control" type="text">
</td>
</tr>
<tr>
<td>EMAIL</td>
<td>
<input class="form-control" type="text">
</td>
</tr>
<tr>
<td>NOTE</td>
<td>
<input class="form-control" type="text">
</td>
</tr>
</table>
<!--Complete info
for a complete information, the full input is <td><input class="form-control" type="text" name="note" value="<?php echo "$row[note]";?>"></td>
-->
So the question is, how can I make my input field growing on display and on typing to edit my value? The best for me would be the input field growing in height.
Thanks a lot!