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");
<input type="hidden" name="result" value="<?php echo $postvalue; ?>">

```

But I am getting only an array string after printing the posted value. So how can I solve it?