This question already has an answer here:
- Setting value of a HTML form textarea? 3 answers
Is there a difference between PHP echoing inside a HTML <input/>
wrapper and <textarea/>
wrapper ?
<input id="element_3" name="Portnumber" class="element text medium" type="text" maxlength="255" value="<?php echo $person['portnumber']; ?>"/>
echos the data from the portnumber table.
<textarea id="element_5" name="Description" class="element textarea medium" value="<?php echo $person['description']; ?>"></textarea>
Nothing is echoed.
Question
should the syntax inside text area wrappers be different to the input wrapper in order to display the echo.
</div>