Ver Mensaje Individual
  #4 (permalink)  
Antiguo 31/01/2011, 09:57
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: problemas con escape

Con que apliques htmlspecialchars debería funcionar:
Código PHP:
Ver original
  1. <input type="button" name="foo" value="<?php echo htmlspecialchars($valor, ENT_QUOTES); ?>" />

Saludos.