Jump to content

rebuilding an array from two arrays


riceje7

Recommended Posts

i am looking to rebuild an array that i broke down to use the array_diff function. i have 2 arrays, $keyarray and $valuearray, what i want is to make a new array with the keys being the values from $keyarray and the the values in the new array being the values from $valuearray. does anyone know how i can do this?

Link to comment
https://forums.phpfreaks.com/topic/182697-rebuilding-an-array-from-two-arrays/
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.