Skip to content

Instantly share code, notes, and snippets.

@DDOrozco17
Created October 18, 2023 18:47
Show Gist options
  • Save DDOrozco17/bb75c75e67e8ac8676bb5726a4804736 to your computer and use it in GitHub Desktop.
Save DDOrozco17/bb75c75e67e8ac8676bb5726a4804736 to your computer and use it in GitHub Desktop.
get formulaRIO
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
Tabla Empleados<br>
id empleado: <?php isset($_GET["a1"]) ? print $_GET["a1"] : ""; ?><br>
nombre empleado: <?php isset($_GET["b1"]) ? print $_GET["b1"] : ""; ?><br>
fecha contratacion: <?php isset($_GET["c1"]) ? print $_GET["c1"] : ""; ?><br>
cargo: <?php isset($_GET["d1"]) ? print $_GET["d1"] : ""; ?><br>
salario: <?php isset($_GET["e1"]) ? print $_GET["e1"] : ""; ?><br>
direccion: <?php isset($_GET["f1"]) ? print $_GET["f1"] : ""; ?><br>
telefono: <?php isset($_GET["g1"]) ? print $_GET["g1"] : ""; ?><br>
correo electronico: <?php isset($_GET["h1"]) ? print $_GET["h1"] : ""; ?>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form action="empleados.php" method="get">
Empresa: Papeleria<br>
Tabla: Empleados<br>
iD empleado: <input type="text" name="a1"><br>
nombre empleado: <input type="text" name="b1"><br>
fecha contratacion: <input type="date" name="c1"><br>
cargo: <input type="text" name="d1"><br>
salario: <input type="text" name="e1"><br>
direccion: <input type="text" name="f1"><br>
telefono: <input type="text" name="g1"><br>
correo electronico<input type="text" name="h1"><br>
<input type="submit" value="Enviar">
</form>
<form action="proovedores.php" method="get">
Tabla: Proovedores<br>
iD proovedor: <input type="text" name="a2"><br>
nombre proovedor: <input type="text" name="b2"><br>
direccion: <input type="text" name="c2"><br>
telefono: <input type="text" name="d2"><br>
correo electronico: <input type="text" name="e2"><br>
producto principal: <input type="text" name="f2"><br>
fecha entrega: <input type="date" name="g2"><br>
total productos: <input type="text" name="h2"><br>
<input type="submit" value="Enviar">
</form>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
Tabla Proovedores<br>
id proovedore: <?php isset($_GET["a2"]) ? print $_GET["a2"] : ""; ?><br>
nombre proovedor: <?php isset($_GET["b2"]) ? print $_GET["b2"] : ""; ?><br>
direccion: <?php isset($_GET["c2"]) ? print $_GET["c2"] : ""; ?><br>
telefono: <?php isset($_GET["d2"]) ? print $_GET["d2"] : ""; ?><br>
correo electronico: <?php isset($_GET["e2"]) ? print $_GET["e2"] : ""; ?><br>
producto principal: <?php isset($_GET["f2"]) ? print $_GET["f2"] : ""; ?><br>
fecha de entrega: <?php isset($_GET["g2"]) ? print $_GET["g2"] : ""; ?><br>
total productos: <?php isset($_GET["h2"]) ? print $_GET["h2"] : ""; ?>
</body>
</html>
@DDOrozco17
Copy link
Author

image

@DDOrozco17
Copy link
Author

image

@DDOrozco17
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment