title: php - How do I get rid of this strange "empty delimiter" message
body: <p>I have some code that uses the stristr function to extract data I need. </p>
  
  <p>It gives me this Warning for every iteration of the loop:</p>
  
  <pre><code>Warning: stristr() [function.stristr]: Empty delimiter in ... line 55
  </code></pre>
  
  <p>The code works apart from this Warning.  Here is the code:</p>
  
  <pre><code>$data = stristr("$text", "$key");
  $result = string_limit_words($data,2);
  print "$result&lt;BR&gt;";
  </code></pre>
  
  <p>How do I get rid of the warning message?</p>