Preg/Search Help Please!
Posted: Sat Nov 27, 2004 1:37 pm
I want to be able to search an input and if a certain words (i want to check for multiple words) is in the input return a variable true.
ie:
Any ideas?
thanks!
ie:
Code: Select all
<?php
if ($_POSTї'mypost'] CONTAINS "STRING1 OR STRING2")
{
$ecample = "1";
}
?>Any ideas?
thanks!