I'm trying to insert some posted form elements into an array with array_push, but I'm getting this warning.
What am I doing wrong?PHP Code:
$parr = array();
foreach($_POST as $key => $val)
if( ($key != 'funcionario') && ($key != 'btnsubmit') && ($key != 'btnreset') )
I defined $parr as an array before looping through the $_POST array...