Finds an array in the
POST data then finds and returns an element inside this array.
If the array or the element do not exist, returns
NULL or a value specified in the $default parameter.
This function is useful for extracting form field values if you use array notation for the form input element names.
For example, if you have a form with the following fields
<input type="text" name="customer_form[first_name]">
<input type="text" name="customer_form[last_name]">
you can extract the first name field value with the following code:
$first_name = post_array_item('customer_form', 'first_name')
This function is a shortcut for
Phpr_Request::post_array_item() method.