Last active
April 11, 2017 06:24
-
-
Save MrJSdev/ffb4d0e46dc76502bf4d78c084b00924 to your computer and use it in GitHub Desktop.
this is another post and its explanation of code snippets that we have posted at http://extracatchy.net
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <php | |
| function is_our_student($students, $stringtocheck) | |
| { | |
| foreach ($students as $name) { | |
| if (stripos($stringtocheck, $name) !== FALSE) { | |
| return true; | |
| } | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment