<?
@mysql_connect(
"localhost"
,
""
);
@mysql_select_db(
"ilhan"
$liste
=mysql_query(
"select * from ogrgir where nosu like'$num'"
if
(mysql_error())
{
echo
(
"<h2>Hata olustu! </h2><br> Hata:"
mysql_error();
exit
();
}
?>
<html>
<body bgcolor=
"Aqua"
>
while
$sonuc
=mysql_fetch_array(
)):
$adi
=
[
"adi"
];
$soyadi
"soyadi"
$nosu
"nosu"
<table align=
"center"
<tr>
<td>Adı :</td>
<td><?
"$adi"
?></td>
</tr>
<td>Soyadı :</td>
"$soyadi"
<td>Numarası :</td>
"$nosu"
</table>
endwhile
; ?>
</body>
</html>