Ver Mensaje Individual
  #3 (permalink)  
Antiguo 31/07/2013, 09:54
waspeis
 
Fecha de Ingreso: julio-2013
Mensajes: 44
Antigüedad: 10 años, 10 meses
Puntos: 0
Respuesta: Problema al cargar texto que contiene comillas simples en input type text

Me gustaría que todo el código estuviera en php. Así es como lo tengo:

Código PHP:
Ver original
  1. <?
  2. // código
  3.  
  4. echo "<input type=text name=nombre id=nombre value='" . $fila[nombre] . "'>";
  5. echo "<input type=text name=apellidos id=apellidos value='" . $fila[apellidos] . "'>";
  6.  
  7. // sigue código
  8. ?>

¿Se podría?