Despues de introducir una porción de codigo desde de un formulario html y mostrarlo con
 Cita:   
me devuelve <?php 
echo htmlentities($codigo); ?>
 echo htmlentities($codigo); ?>
 Cita:   
en lugar de<iframe title=\"YouTube video player\" width=\"550\" height=\"339\" src=\"http://www.youtube.com/embed/LUjq7Yz4_Do?rel=0\" frameborder=\"0\" allowfullscreen></iframe>
  Cita:   
Como podeis ver me sustituye los espacios en blanco por el caracter "\"<iframe title="YouTube video player" width="550" height="339" src="http://www.youtube.com/embed/LUjq7Yz4_Do?rel=0" frameborder="0" allowfullscreen></iframe>
 ¿Como lo soluciono?
gracias
 
 

 Se me sustitullen los espacios en blanco por \
 Se me sustitullen los espacios en blanco por \ 





