I have a $_POST array and I would like to add a key at the very end.
So what I am doing is,
array_push($_POST['ques_15'] , '');
it works but I am getting a warning
Warning: array_push() expects parameter 1 to be array, null given
How can I remove this warning without turning off display errors.
$_POST['ques_15'] = '';$_postdon't give index . Then it will consider it as a string.