<?php $ss3="How to make a book"; $words = array ("book","paper","page","sheet"); $new_str_array = str_word_count($ss3,1); $founded_words = array_intersect($words,$new_str_array); if(count($founded_words) > 0){ echo "Founded : ". implode(',',$founded_words); }else{ echo "Founded Nothing"; }
You have javascript disabled. You will not be able to edit any code.