Ejemplo n.º 1
0
<?php

require '../includes/class/alumno.php';
$alumno = new alumno();
$id = $_GET["id"];
$datos = $alumno->listarID($id);
?>
<link rel="stylesheet" type="text/css" href="../../css/tdatos.css"/>
<form method="post" accept-charset="">
<table class="tdatos">
<tr>
<td class="cabeceras">Nombre: </td>
<td colspan=""><input name="nombre" size="10" value="<?php 
echo $datos["nombre"];
?>
"/></td>
<td class="cabeceras">Apellidos: </td>
<td colspan=""><input name="apellidos" size="10" value="<?php 
echo $datos["apellidos"];
?>
"/></td>
</tr>
<tr>
<td class="cabeceras">DNI: </td>
<td><input name="dni" size="10" value="<?php 
echo $datos["dni"];
?>
" /></td>
<td class="cabeceras">Fecha Nacimiento: </td>
<td><input name="fechan" size="10" value="<?php 
echo $datos["fecha_nacimiento"];