Advertisement
Gustavo_Inzunza

el que recibe de html y envia a php

Jun 17th, 2013
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.04 KB | None | 0 0
  1. <?php
  2.     $Funciones=$_POST['Funciones'];
  3.     $Entidades=$_POST['Entidades'];
  4.     $valorid=$_POST['valorid'];
  5.     echo "aca se imprimen $Funciones $Entidades $valorid";
  6.  
  7. ?>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  12. <title>Documento sin t&iacute;tulo</title>
  13. </head>
  14.  
  15. <body>
  16. <!--<form id="form1" name="form1" method="post" action="listar_empleado.php">-->
  17.  
  18. <?php
  19.     if($Funciones==1 and $Entidades=="Colaborador")
  20.     {
  21.     ?>
  22.   <form id="form1" name="Funciones" method="post" action="nueva.php">Ingresar id Colaborador:
  23.   <input type="text"  name="primeraopcion" value="<?php echo"$Funciones"?>"/>
  24.   <input type="text"  name="segundaopcion" value= "<?php echo"$Entidades"?>"/>
  25.   <input type="text" name="textfield" />
  26.   <input type="submit" name="Submit" value="Enviar" />
  27.   </form>
  28.   <?php
  29.   }
  30.   ?>
  31. <a href="index.html">volver</a>
  32. </body>
  33. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement