print a textarea : Form « Form « PHP






print a textarea

 
function input_textarea($element_name, $values) {
    print '<textarea name="' . $element_name .'">';
    print htmlentities($values[$element_name]) . '</textarea>';
}
  
  








Related examples in the same category

1.print a radio button or checkbox
2.print a select menu
3.print a submit button
4.print a text box
5.HTML elements for use in forms
6.HTML Form Elements
7.HTML form for submitting data
8.Working with Multipage Forms
9.Process the results