# Array Display Problem

**URL:** https://forum.kirupa.com/t/array-display-problem/296214
**Category:** programming
**Created:** [September 11, 2009, 12:18am UTC](https://forum.kirupa.com/t/array-display-problem/296214 "2009-09-11T00:18:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![7788](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/7788/32/2860_2.png) [@7788](https://forum.kirupa.com/u/7788)
#### Post date: [September 11, 2009, 12:18am UTC](https://forum.kirupa.com/t/array-display-problem/296214/1 "2009-09-11T00:18:48Z")

</div>

i have the following array result (with print\_r)

```auto
[TIMESTAMP] => 2009%2d09%2d11T00%3a12%3a41Z [CORRELATIONID] => be3a644f8cad9 [ACK] => Failure [L_ERRORCODE0] => 10001 [L_SHORTMESSAGE0] => Internal%20Error [L_LONGMESSAGE0] => Timeout%20processing%20request ) 

```

I’d like output it like this:

```auto
TIMESTAMP=2009%2d09%2d11T00%3a12%3a41Z
CORRELATIONID=be3a644f8cad9
ACK=Failure
etc...

```

Using this

```auto
foreach ($httpParsedResponseAr as $value) {
    
    echo "$value<br />
";
}

```

gets me only the value without the name of the entry

```auto
2009%2d09%2d11T00%3a12%3a41Z
be3a644f8cad9
Failure
etc...

```

Seems too simple but I cant figure it out  
Any ideas?  
Thanks in advance!  
-Miro
