Check if text contains certain words - PHP Coding Help - PHP Freaks
Category: Code

Check if text contains certain words - PHP Coding Help - PHP Freaks

Basically I want to check a bunch of text for certain swear words, and if it contains at least 1 word, then throw out an error. All I can find on the net is replacing text with other text, I dont want to replace it, I just want to see if it's there. So maybe have an array full of swear words, the...


Views:
  • 52
Published:
  • 2
  • months
Status:
  • Online!

Tag: PHP
Discover:
Site: phpfreaks.com
Comment

More Contents