Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/01/2012, 11:21
daxxdj
 
Fecha de Ingreso: abril-2011
Mensajes: 41
Antigüedad: 15 años, 5 meses
Puntos: 2
Respuesta: De texto y demás a HTML

Código PHP:
$a = $_REQUEST["a"];

$b = htmlentities($a);

$c = html_entity_decode($b);

$d = htmlspecialchars($c);

$e = nl2br($d); 
Por ejemplo. Que hago mal?