print a text box : Form « Form « PHP
- PHP
- Form
- Form
print a text box
function input_text($element_name, $values) {
print '<input type="text" name="' . $element_name .'" value="';
print htmlentities($values[$element_name]) . '">';
}
Related examples in the same category