Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/11/2010, 10:31
Death_Empire
 
Fecha de Ingreso: febrero-2010
Mensajes: 818
Antigüedad: 14 años, 3 meses
Puntos: 55
Respuesta: Detectar una palabra dentro de una cadena

puedes usar strpos http://php.net/manual/es/function.strpos.php

o otras funciones para los string
* strrpos() - Find the position of the last occurrence of a substring in a string
* stripos() - Find position of first occurrence of a case-insensitive string
* strripos() - Find position of last occurrence of a case-insensitive string in a string
* strstr() - Find first occurrence of a string