display php foreach values in div

Posted by San82moon on Stack Overflow See other posts from Stack Overflow or by San82moon
Published on 2010-05-20T06:56:35Z Indexed on 2010/05/20 7:00 UTC
Read the original article Hit count: 136

Filed under:
|

Hi,

I have

foreach ($a as $key => $value) {

echo $value;

}

which displays result one below other, like

1234

5678

2010-05-20

5678

1590

2010-05-19

but i want it in a table like structure like

1234 5678 2010-05-20

5678 1590 2010-05-19

how can i do that?

© Stack Overflow or respective owner

Related posts about php

Related posts about div