Encodes the given field names and values into a value of type "application/x-www-form-urlencoded".
Encodes as defined in the HTML 4.01 spec.
This method requires you to know the names of the form fields (or at the very least, the total number of fields) at compile time; for working with dynamic forms, use [func@form_encode_hash] or [func@form_encode_datalist].
See also: [[email protected]_from_encoded_form].
... |
value of |
first_field |
name of the first form field |
the encoded form |