html - Finding matching word in MySQL and php -


can me problem. i'm trying echo 1 thing if matches , if doesn't match.

$string = "i love hockey" $tokenize = strtok($string, " ");  while ($tokenize !== false) {      echo $tokenize; 

}

you can use query   select * `your_table` `field_name` '%your_word%' 

Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -