FORMULARIO PARA CONECTAR A MYSQL
<html>
<head>
<title>
</title>
<meta charset="utf-8">
<style>
#tabl{
border: 2px solid red ;
border-radius: 12px;
background-color:#A9D0F5;
}
input{
font-size:12px;
width:300px;
color:blue;
}
td{
color:white;
}
</style>
</head>
<body>
<form action="guardar.php" method="POST">
<table id="tabl" border=0 width=400 align=center>
<tr>
<td colspan=2 align="center">
INGRESAR DATOS
</td>
</tr>
<tr>
<td>Nombre</td>
<td> <input type="text" required name="nombre" size=44px placeholder="ingrese nombre"> </td>
</tr>
<tr>
<td>Correo</td>
<td> <input type="text" required name="correo" placeholder="ingrese el correo" > </td>
</tr>
<tr>
<td>Dirección</td>
<td> <input type="text" required name="direccion" placeholder="ingrese su dirección"></td>
</tr>
<tr>
<td colspan=2 align="center">
<button type="submit">GUARDAR</button>
</td>
</tr>
</table>
</form>
</body>
</html>
<head>
<title>
</title>
<meta charset="utf-8">
<style>
#tabl{
border: 2px solid red ;
border-radius: 12px;
background-color:#A9D0F5;
}
input{
font-size:12px;
width:300px;
color:blue;
}
td{
color:white;
}
</style>
</head>
<body>
<form action="guardar.php" method="POST">
<table id="tabl" border=0 width=400 align=center>
<tr>
<td colspan=2 align="center">
INGRESAR DATOS
</td>
</tr>
<tr>
<td>Nombre</td>
<td> <input type="text" required name="nombre" size=44px placeholder="ingrese nombre"> </td>
</tr>
<tr>
<td>Correo</td>
<td> <input type="text" required name="correo" placeholder="ingrese el correo" > </td>
</tr>
<tr>
<td>Dirección</td>
<td> <input type="text" required name="direccion" placeholder="ingrese su dirección"></td>
</tr>
<tr>
<td colspan=2 align="center">
<button type="submit">GUARDAR</button>
</td>
</tr>
</table>
</form>
</body>
</html>
Comentarios
Publicar un comentario