Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
oh you are right! haha thanks I didn't realise
it seems that u forgot a liiiiiiiiiiittle tweak on ur search function:
function my_array_search($match, $array) {
foreach($array as $index => $value) {
if ($value == $match)//you just forgot to replace needle with ur input overhere
return $index;
}
return 0;
}
your elses are redundant, you could get rid off them.