Ver Mensaje Individual
  #5 (permalink)  
Antiguo 20/11/2008, 15:16
Alejo18
 
Fecha de Ingreso: abril-2008
Mensajes: 122
Antigüedad: 16 años
Puntos: 1
Respuesta: Funcion dentro de preg_replace

Le agregué la e para que tome el código pero me lanza un caracter raro " " es un cuadrado =S
Código PHP:
$texto preg_replace("/\\[CLAVE\\](.+?)\[\/CLAVE\]/ise",funcionUper('\1'), $text); 
Warning: Unexpected character in input: '' (ASCII=1) state=1 in C:\AppServ\www\bbcode.php(21) : regexp code on line 1

Linea 21:
Código PHP:
 $text preg_replace("/\\[CLAVE\\](.+?)\[\/CLAVE\]/ise",funcionUper("\1"), $text); 

Última edición por Alejo18; 20/11/2008 a las 15:23