-   
- <html> 
- <head> 
- <title>Formulario</title> 
- </head> 
-   
- <? 
- $aux = $_GET["aux"]; 
- ?> 
-   
- <body> 
- <? 
- if($aux == NULL) 
- { 
- ?> 
- <form name="form1" method="post" action="compara.php"> 
- <p> 
-     ID FACTURA<input type="text" name="fact_id"> 
- </p> 
- <p> 
-     NOMBRE EMPRESA<input type="text" name="fact_nom_emp"> 
- </p> 
- <p> 
-     <input type="submit" name="Submit" value="Comparar datos"> 
- </p> 
- </form> 
- <? 
- } 
- else { 
-   $fact_id = $_GET["fact_id"]; 
-   $fact_nom_emp = $_GET["fact_nom_emp"]; 
-   $resul_id = $_GET["resul_id"]; 
-   $resul_emp = $_GET["resul_emp"]; 
- ?> 
- <form name="form1" method="post" action="compara.php"> 
- <p> 
-   <? 
-   if($resul_id == 0) 
-   { 
-     ?> 
-       ID FACTURA<input type="text" name="campo" value="<?=$fact_id?>" disabled="true"> 
-       <? 
-       } 
-     else{ 
-       ?> 
-       ID FACTURA<input type="text" name="campo" value="<?=$fact_id?>"> 
-     <? 
-   } 
-   if($resul_emp == 0) 
-   { 
-     ?> 
-       NOMBRE EMPRESA<input type="text" name="campo" value="<?=$fact_nom_emp?>" disabled="true"> 
-       <? 
-       } 
-     else{ 
-       ?> 
-       NOMBRE EMPRESA<input type="text" name="campo" value="<?=$fact_nom_emp?>"> 
-     <? 
-   } 
-   ?> 
- </p> 
- <p> 
-     <input type="submit" name="Submit" value="Comparar datos nuevamente"> 
- </p> 
- </form> 
- <? 
- } 
- ?> 
- </body> 
- </html> 
-   
-