Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/04/2007, 13:27
rocita
 
Fecha de Ingreso: octubre-2003
Ubicación: BolivianitA
Mensajes: 235
Antigüedad: 21 años, 5 meses
Puntos: 0
Mostrar en pantalla sigo " (comilla)

Tengo problemas al mostrar el el signo " comilla doble

por decirles si pongo en el input Esto es "La Universidad".

con el ejemplo que puse me muestra Texto : Esto es \"La Universidad\".


por que tengo este problema ?

adjunto el codigo:

Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>prueba</title>
</head>
<body>
<?
if(isset($_GET['texto'])) echo "<strong>Texto : </strong>".$_GET['texto');
?>
<br />
<br />

<form id="form" name="form1" method="get" action="<?=$_SERVER['PHP_SELF']?>">
  <input type="text" name="texto" id="texto" />
  <input type="submit" name="opc" value="enviar" id="Submit" />
</form>
</body>
</html>
helpme
__________________
rocita