Jump to content

[SOLVED] Multidimensional array


ninka

Recommended Posts

Hi all!

I have an array that looks like this:

Array

(

   [0] => Array(

      [fieldID] => 001

      [description] => Hi all!)

   [1] => Array (

      [fieldID] => 002

      [description] => It’s me again! )

)

And I want to change it into array that would look like this:

Array

(

   001 => Hi all!

   002 => It’s me again!

)

Is it possible to do it at all? Can I would really appreciate, if someone could help me? I’m quite new in all this php stuff and still have a lot to learn.

 

Link to comment
https://forums.phpfreaks.com/topic/44315-solved-multidimensional-array/
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.