consulta.php
<?php
if(isset($_POST['chkRegistro']))
{
include("conexion.php");
$conexion = mysql_connect($host, $user, $password) or die("Problemas con Server");
mysql_select_db($db, $conexion) or die("Ploblemas con BD");// Selecciona la base
de datos
$Id=$_POST['chkRegistro'];
$sql=mysql_query("SELECT * FROM Matriculas WHERE Id=$Id");
$Registro = mysql_fetch_array($sql);
?>
<!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>consulta</title>
<style type="text/css">
<!--
body,td,th {
color: #FFF;