Renames $_POST
data from form names to DB post columns.
Description
Manipulates $_POST
directly.
Parameters
$update
booloptional- Whether the post already exists.
Default:
false
$post_data
array|nulloptional- The array of post data to process.
Defaults to the$_POST
superglobal.Default:
null