I need to save a list of blocked words in mysql database and use my below code to block some words or phone numbers... Please help with a little example. 
Thanks 

```
$blocked_words=array("word1" ,"word2","word3");  
$string_words=explode(" ", $_POST['text']);  
$phone_words=explode(" ", $_POST['phone']);  
$result = array_intersect($blocked_words, $string_words);  
$result_phone = array_intersect($blocked_words, $phone_words);

```