EVALUACIÓM

Noviembre 8 del 2017

Se realizara una evalucion

Debemos tener en cuenta el amnual 33 y 34 que constan de lo siguiente:


  • index.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<?php
$mensaje = isset($_GET['mensaje'])?$_GET['mensaje']:"";
if ($mensaje != ""){
?>
<script type="text/javascript">alert("<?=$mensaje;?>");</script>
<?php }?>
<body>
<form id="form1" name="form1" method="post" action="guardar.php">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="16%">&nbsp;</td>
      <td width="74%">&nbsp;</td>
      <td width="10%">&nbsp;</td>
    </tr>
    <tr>
      <td>Nombre : </td>
      <td><input type="text" name="nombre" id="nombre" /></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Apellido : </td>
      <td><input type="text" name="apellido" id="apellido" /></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" name="button" id="button" value="Guardar" /></td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><hr /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><a href="ver_pantalla.php" target="_blank">Ver Resultados en Pantalla</a></td>
    <td>&nbsp;</td>
    <td><a href="ver_pdf.php" target="_blank">Ver Resultados en Pdf</a></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><hr /></td>
  </tr>
</table>
</body>
</html>

  • conexion_db.php
<?php  $servidor = 'localhost';
$usr_sistema = 'root';
$pass_sistema = '';
$base_datos = 'ejemplo_001';
?>

Comentarios

Entradas más populares de este blog

Ejercicios de DFD Y CICLO FOR

Ejemplos de Ciclo for y FIBONACCI

CONTINUACIÓN DFD