Jump to content

Using foreach to seperate...


aximbigfan

Recommended Posts

I have this:

Array ( [0] => Array ( [CAT] => CAT [KEY] => KEY ) [1] => Array ( [CAT] => CAT1 [KEY] => KEY1 ) )

 

And foreach array inside of it, I want to foreach the entires so that I have a nice table, like this:

+----+-----+

|CAT | KEY |

+----+-----+

|CAT1|KEY1|

+----+-----+

 

How do I do this?

 

Thanks,

Chris

Link to comment
https://forums.phpfreaks.com/topic/101310-using-foreach-to-seperate/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.