print a submit button : Form « Form « PHP






print a submit button

 
function input_submit($element_name, $label) {
    print '<input type="submit" name="' . $element_name .'" value="';
    print htmlentities($label) .'"/>';
}
  
  








Related examples in the same category

1.print a radio button or checkbox
2.print a select menu
3.print a text box
4.print a textarea
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