|    
			
				26/10/2007, 00:33
			
			
			  | 
  |   |  | Moderador extraterrestre |  |  Fecha de Ingreso: diciembre-2001 Ubicación: Madrid 
						Mensajes: 6.987
					 Antigüedad: 23 años, 10 meses Puntos: 61 |  | 
  |  Re: resultados de encuesta en popup  
  He hecho este cambio: 
  He probado en mi servidor y funciona:Código PHP:    <form action = "action="portada.php?id=resultados" method="post" target = "ventanita" />Pregunta?<br>
 
 <input type=radio name="respuesta" Value="1"> Opcion 1<br>
 <input type=radio name="respuesta" Value="2"> Opcion 2 <br>
 <input type=radio name="respuesta" Value="3"> Opcion 3<br>
 <input type="submit" value="Votar" onclick="ventanita = window.open('about:blank','ventanita','width = 500,height = 400')">
 </form>
 
 
 http://www.karlankas.net/encuesta
 
 El código que he puesto en mi "portada.php" es:
 
 
  Espero que te sirva!Código PHP:   
<html><head>
 <title>Untitled</title>
 </head>
 
 <body>
 <strong>La sección es: <?=$_GET['id'];?></strong><br>
 
 Has respondido: <?=$_POST['respuesta'];?>
 
 </body>
 </html>
 
				__________________Cómo escribir 
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.     |