PHP Script to take a database backup

The keys for $_POST are filled by the name attributes of your form fields. [] does indicate that the form will send an array of data.

The values for $_POST are the value attribute of the form field, which for certain form fields (like a checkbox) have a default value, and for others (like a text input) is variable.

1 Like