How to find some words contain in string?
<p>I wish to do this in PHP find <code>some words</code> contain in a string</p>

<pre><code>  if (strpos($str,array("select","update","insert into","delete") !== False){
    echo "string contain SQL statements";
  }
</code></pre>

<p>Anyone know how to do this?</p>
