That may be because you search one element of the array at a time. When the first index(0) is searched, the if statement is encountered. If there is no match the else executes, the break exits the...
Type: Posts; User: jps
That may be because you search one element of the array at a time. When the first index(0) is searched, the if statement is encountered. If there is no match the else executes, the break exits the...
Perhaps there is, did you look? Check out this page and see what you can find