Hello12345 Posted May 2, 2007 Share Posted May 2, 2007 (edited) Hello, i am kind of a newbie. But not super. I have an array that i need to search and need to get an array back with the places where the text is found. i tried arraysearchplus but it only return the first results and it stops. _ArraySearchPlus ($Title2, "General","" , "",0,3) thanks any help is greatly appreciated Edited May 2, 2007 by Hello12345 Link to comment Share on other sites More sharing options...
jefhal Posted May 2, 2007 Share Posted May 2, 2007 Put your array into an array variable $arrayOne. Then open a For loop to go through every array element looking for a match. When you find a match, use arrayadd to add one element to another array $arrayTwo: _arrayadd($arrayTwo,$arrayOne[$i]) ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format Link to comment Share on other sites More sharing options...
Hello12345 Posted May 3, 2007 Author Share Posted May 3, 2007 Thank. I got it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now