Jump to content

replacing a specific array


bftwofreak

Recommended Posts

I have about 16 arrays on one page and I've written an if statement. For example: The arrays that it searches through are named $p1['tag'] through $p16['tag']. Basically how do I search through those arrays and use that same array to add a var under that array? if someone can point me in the right direction I'm sure I can figure it out.

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/123701-replacing-a-specific-array/
Share on other sites

the search will go through the variables in the array and look for $name, and if it finds it, it will put it into the same array that it came from. However it will be under a different array and that variable under every other array will have a specific variable.

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.