在HTML中回应PHP [重复]

This question already has an answer here:

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>

Textarea's don't have a value attribute. The content gets wrapped in the <textarea> tags:

<textarea id="element_5" name="Description" class="element textarea medium">
    <?php echo $person['description']; ?>
</textarea>

Try:

<textarea id="element_5" name="Description" class="element textarea medium>
<?php echo $person['description']; ?>
</textarea>

Textareas are different to your regular inputs, they do not have the value attribute

Textarea has no value attribute

 <textarea id="element_5" name="Description" class="element textarea medium"><?php echo $person['description']; ?></textarea>