<?php /** * Test to see if a given string contains HTML tags */ function testIfContainsTag($input) { if (strpos($input, '<') > -1) { return true; } else { return false; } };