Si el texto contiene palabra, entonces en PHP
if (strpos($haystack,$needle) !== false) {
echo "$haystack contains $needle";
}
Ankur
if (strpos($haystack,$needle) !== false) {
echo "$haystack contains $needle";
}
$haystack = 'This is my haystack that we shall check'
$has_A = strpos($haystack, 'A') !== false;
$has_a = strpos($haystack, 'a') !== false;
<?php
define("PI" = 3.1412);
?>