I am trying to post an array in a hidden field and want to retrieve that array after submitting a form in PHP.
$postvalue = array(\"a\", \"b\", \"c\");
It's better to encode first to a JSON string and then encode with Base64, for example, on the server side in reverse order: use first the base64_decode and then json_decode functions. So you will restore your PHP array.