Jump to content

searching an array?


calmchess

Recommended Posts

How do I search an array by string value  and return the number of times that string occurs in an array?

Is there a handy PHP method I don't know about that does this. my google search only comes up with array_search does setting it to strict do what I want? Thanks for taking the time to read this.

 

--calmchess

Link to comment
https://forums.phpfreaks.com/topic/278847-searching-an-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.