Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/10/2011, 22:45
doword
 
Fecha de Ingreso: febrero-2011
Mensajes: 99
Antigüedad: 13 años, 2 meses
Puntos: 10
Notice: Undefined offset: 1 in

He puesto este codigo:

Código PHP:
Ver original
  1. preg_match( '/(games/darkorbit/statusicon/).*(" alt=)/', $content, $usercolorM );
  2. $on_off = $usercolorM[1];
  3.          
  4.  
  5. echo "<div><strong>user:</strong> $on_off</div>\n";
  6. ?>

Pero resivo este error:


Warning: preg_match() [function.preg-match]: Unknown modifier 'd' in C:\xampp\htdocs\codex\index.php on line 21

¿Como lo soluciono?