setFormMethod is a function in PHP that defines the HTTP method used to submit a form. The method can either be GET or POST.
Example using the setFormMethod function:
In this example, the form will use the POST method to submit the data entered in the "username" field.
Package library: PHP core.
PHP Form::setFormMethod - 24 examples found. These are the top rated real world PHP examples of Form::setFormMethod extracted from open source projects. You can rate examples to help us improve the quality of examples.