
19/08/2009, 01:16
|
 | | | Fecha de Ingreso: febrero-2005
Mensajes: 2.351
Antigüedad: 20 años Puntos: 25 | |
Respuesta: Buscar texto dentro de 2 textos "comidones"
Código PHP:
Ver original<? $comodin1="Pk2$"; $comodin2="--!"; $string = 'ThistextwillhigPk2$hlightPHPand--!'; if(stristr($string, $comodin1) === FALSE){ // no se encontraron los parametros }else{ $nuevo=stristr($string, $comodin1); echo $ex_final; } ?>
Saludos ;)
__________________ Hospedaje Web al mejor costo! |