Jump to content

Stupid Array Question


onlyican

Recommended Posts

Yo

I am going brain dead I think, I swear I done this before, But I cant remember how

I have an array with multiple things in there, including items

I call these by
$item1 = $keyarray['item1'];
$item2 = $keyarray['item2'];

Now
I want to make these items into a new array
so I wont use item1 item2
I would use an array called items, and end up with a finish result, something like
Array ( [0] => prod1 [1] => prod2 )

How do I do this again?
Thanks in advance
Link to comment
https://forums.phpfreaks.com/topic/16319-stupid-array-question/
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.