SlideShare a Scribd company logo
1 of 1
<html>
<head>
</head>
<body background="fondo.jpg" >
</br>
</br>
</br>
</br>
</br>
</br>
</br>
</br>
<?php
mysql_connect("localhost", "root") or die(mysql_error());
mysql_select_db("cep" ) or die(mysql_error());
$id=$_GET['id'];
$result=mysql_query("select * from matricula where DNI='$id'");
?>
<TABLE BORDER=1 CELLSPACING=1 CELLPADDING=1 BGCOLOR="#0B2161" align=center >
<TR><TD>&nbsp;<B>DNI</B></TD> <TD>&nbsp;<B>Codi</B>&nbsp;</TD>
<TD>&nbsp;<B>Nota</B>&nbsp;</TD></TR>
<?php
while($row = mysql_fetch_array($result)) {
printf("<tr><td>&nbsp;%s</td><td>&nbsp;%s&nbsp;<td>&nbsp;%s</td>",
$row["DNI"],$row["Codi"],$row["Nota"]);
}
mysql_free_result($result);
mysql_close();
?>
</table>
<p align=center>
<button><a href="lista2.html" style="color: #FF0000">Salir</a></button>
</p>
</body>
</html>

More Related Content

What's hot

Documentacion edderson callpa_ortiz
Documentacion edderson callpa_ortizDocumentacion edderson callpa_ortiz
Documentacion edderson callpa_ortiz
Edderson J. Ortiz
 
Php codigos interfaces fredy guzman cusihunca
Php codigos interfaces   fredy guzman cusihuncaPhp codigos interfaces   fredy guzman cusihunca
Php codigos interfaces fredy guzman cusihunca
Tigger_Fred
 
Creating a Resource Type with Apache Lenya 2.0
Creating a Resource Type with Apache Lenya 2.0Creating a Resource Type with Apache Lenya 2.0
Creating a Resource Type with Apache Lenya 2.0
nobby
 
Юнит тестирование в Zend Framework 2.0
Юнит тестирование в Zend Framework 2.0Юнит тестирование в Zend Framework 2.0
Юнит тестирование в Zend Framework 2.0
zfconfua
 
Modernizerを用いたHTML5Webサイトの構築
Modernizerを用いたHTML5Webサイトの構築Modernizerを用いたHTML5Webサイトの構築
Modernizerを用いたHTML5Webサイトの構築
Hiroaki Wakamatsu
 

What's hot (19)

Documentacion edderson callpa_ortiz
Documentacion edderson callpa_ortizDocumentacion edderson callpa_ortiz
Documentacion edderson callpa_ortiz
 
Working With Ajax Frameworks
Working With Ajax FrameworksWorking With Ajax Frameworks
Working With Ajax Frameworks
 
Apn log
Apn logApn log
Apn log
 
Php codigos interfaces fredy guzman cusihunca
Php codigos interfaces   fredy guzman cusihuncaPhp codigos interfaces   fredy guzman cusihunca
Php codigos interfaces fredy guzman cusihunca
 
HTML Dasar : #3 Tags
HTML Dasar : #3 TagsHTML Dasar : #3 Tags
HTML Dasar : #3 Tags
 
Creating a Resource Type with Apache Lenya 2.0
Creating a Resource Type with Apache Lenya 2.0Creating a Resource Type with Apache Lenya 2.0
Creating a Resource Type with Apache Lenya 2.0
 
A z railphp v1.0
A z railphp v1.0A z railphp v1.0
A z railphp v1.0
 
Jquery part-II
Jquery part-IIJquery part-II
Jquery part-II
 
Sis quiz
Sis quizSis quiz
Sis quiz
 
Юнит тестирование в Zend Framework 2.0
Юнит тестирование в Zend Framework 2.0Юнит тестирование в Zend Framework 2.0
Юнит тестирование в Zend Framework 2.0
 
JavaScriptの動かし方
JavaScriptの動かし方JavaScriptの動かし方
JavaScriptの動かし方
 
Analytics workshop deel 2
Analytics workshop deel 2Analytics workshop deel 2
Analytics workshop deel 2
 
Modernizerを用いたHTML5Webサイトの構築
Modernizerを用いたHTML5Webサイトの構築Modernizerを用いたHTML5Webサイトの構築
Modernizerを用いたHTML5Webサイトの構築
 
Crud php7 mysq li + bootstrap
Crud php7 mysq li + bootstrapCrud php7 mysq li + bootstrap
Crud php7 mysq li + bootstrap
 
Teste
TesteTeste
Teste
 
нубиодидва
нубиодидванубиодидва
нубиодидва
 
Local storages
Local storagesLocal storages
Local storages
 
File API in Firefox3.6
File API in Firefox3.6File API in Firefox3.6
File API in Firefox3.6
 
Tazkira tul sadaat.pdf 2 1 (1)
Tazkira tul sadaat.pdf 2 1 (1)Tazkira tul sadaat.pdf 2 1 (1)
Tazkira tul sadaat.pdf 2 1 (1)
 

Viewers also liked

5.6.qtc luong ok
5.6.qtc luong ok5.6.qtc luong ok
5.6.qtc luong ok
BestCarings
 
The list of who
The list of whoThe list of who
The list of who
Aing Sina
 
Khutbah maulid al-rasul (2)
Khutbah maulid al-rasul (2)Khutbah maulid al-rasul (2)
Khutbah maulid al-rasul (2)
Khutbah
 
Manual como crear una cuenta en DropBox
Manual como crear una cuenta en DropBoxManual como crear una cuenta en DropBox
Manual como crear una cuenta en DropBox
Chorch Jerez
 
Doc2
Doc2Doc2
Doc2
DEYSI
 
IHT Seminar ALL PARTS November 14
IHT Seminar ALL PARTS November 14IHT Seminar ALL PARTS November 14
IHT Seminar ALL PARTS November 14
Duncan Orr
 
Toa do-trong-mat-phang
Toa do-trong-mat-phangToa do-trong-mat-phang
Toa do-trong-mat-phang
gadaubac2003
 

Viewers also liked (17)

5.6.qtc luong ok
5.6.qtc luong ok5.6.qtc luong ok
5.6.qtc luong ok
 
The IADC Trial Academy
The IADC Trial AcademyThe IADC Trial Academy
The IADC Trial Academy
 
The list of who
The list of whoThe list of who
The list of who
 
Khutbah maulid al-rasul (2)
Khutbah maulid al-rasul (2)Khutbah maulid al-rasul (2)
Khutbah maulid al-rasul (2)
 
Portada 
Portada Portada 
Portada 
 
English Model Plan
English Model PlanEnglish Model Plan
English Model Plan
 
Manual como crear una cuenta en DropBox
Manual como crear una cuenta en DropBoxManual como crear una cuenta en DropBox
Manual como crear una cuenta en DropBox
 
Placas terrestres
Placas terrestresPlacas terrestres
Placas terrestres
 
Athena
AthenaAthena
Athena
 
Doc2
Doc2Doc2
Doc2
 
The mishandling of asylum seekers in israel
The mishandling of asylum seekers in israelThe mishandling of asylum seekers in israel
The mishandling of asylum seekers in israel
 
interprete de sueños
interprete de sueñosinterprete de sueños
interprete de sueños
 
IHT Seminar ALL PARTS November 14
IHT Seminar ALL PARTS November 14IHT Seminar ALL PARTS November 14
IHT Seminar ALL PARTS November 14
 
2.tipos de sistemas operativos
2.tipos de sistemas operativos2.tipos de sistemas operativos
2.tipos de sistemas operativos
 
Toa do-trong-mat-phang
Toa do-trong-mat-phangToa do-trong-mat-phang
Toa do-trong-mat-phang
 
Pimenta malagueta
Pimenta malaguetaPimenta malagueta
Pimenta malagueta
 
Juanjose rios cardona
Juanjose rios cardonaJuanjose rios cardona
Juanjose rios cardona
 

Ver

  • 1. <html> <head> </head> <body background="fondo.jpg" > </br> </br> </br> </br> </br> </br> </br> </br> <?php mysql_connect("localhost", "root") or die(mysql_error()); mysql_select_db("cep" ) or die(mysql_error()); $id=$_GET['id']; $result=mysql_query("select * from matricula where DNI='$id'"); ?> <TABLE BORDER=1 CELLSPACING=1 CELLPADDING=1 BGCOLOR="#0B2161" align=center > <TR><TD>&nbsp;<B>DNI</B></TD> <TD>&nbsp;<B>Codi</B>&nbsp;</TD> <TD>&nbsp;<B>Nota</B>&nbsp;</TD></TR> <?php while($row = mysql_fetch_array($result)) { printf("<tr><td>&nbsp;%s</td><td>&nbsp;%s&nbsp;<td>&nbsp;%s</td>", $row["DNI"],$row["Codi"],$row["Nota"]); } mysql_free_result($result); mysql_close(); ?> </table> <p align=center> <button><a href="lista2.html" style="color: #FF0000">Salir</a></button> </p> </body> </html>