Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


Codigos con php y html, Guías, Proyectos, Investigaciones de Tecnología

Codicos de php y html con CRUD

Tipo: Guías, Proyectos, Investigaciones

2023/2024

Subido el 11/06/2026

kerry-mauricio-alejandro-leon-adqui
kerry-mauricio-alejandro-leon-adqui 🇬🇹

3 documentos

1 / 3

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
</head>
<body>
<form action= "insertar.php" method="post">
Ingrese Nombre: <input type="text" name="nombre"><br>
Ingrese Telefono: <input type="text" name="telefono"><br>
<input type="submit" name="Insertar" value="Insertar">
</form>
<br><br>
<form action= "consultar.php" method="post">
Ingrese Nombre: <input type="text" name="nombre"><br>
<input type="submit" name="Consultar" value="Consultar">
</form>
<br><br>
<form action= "modificar.php" method="post">
Ingrese Nombre: <input type="text" name="nombre"><br>
Ingrese Telefono: <input type="text" name="telefono"><br>
<input type="submit" name="Modificar" value="Modificar">
</form>
<br><br>
<form action= "eliminar.php" method="post">
Ingrese Nombre: <input type="text" name="nombre"><br>
<input type="submit" name="Eliminar" value="Eliminar">
</form>
</body>
</html>
<?php
pf3

Vista previa parcial del texto

¡Descarga Codigos con php y html y más Guías, Proyectos, Investigaciones en PDF de Tecnología solo en Docsity!

Ingrese Nombre: Ingrese Telefono:

Ingrese Nombre:

Ingrese Nombre: Ingrese Telefono:

Ingrese Nombre:

php

$con = mysqli_connect('localhost','root',"",'bddej'); $nombre = $_POST["nombre"]; $telefono = $_POST["telefono"]; $sql = "insert into agenda values('". $nombre. "','". $telefono. "')"; $resultado = mysqli_query($con,$sql) or die ('error en la insercion de datos'); echo("Registro Insertado"); echo("Regresar a Menu"); ?> Regresar a Menu"); ?> Regresar a Menu"); ?> php $con = mysqli_connect('localhost','root',"",'bddej');