1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
|
<HTML>
<head>
<title>RV zur Linde</title>
<link rel=stylesheet href=style.css type=text/css>
</head>
<body><p class="head">Pferdeprofil</p>
<center>
<TABLE>
<?php
include("Datenbank.php");
$id = "$_GET[id]";
$Ergebnis = mysql_query( "SELECT * FROM Pferd where ID='$id'" );
if (@mysql_num_rows($Ergebnis) == 0) {
echo "Dieses Pferd existiert nicht!";
}
else {
$Data = mysql_fetch_array( $Ergebnis );
}
?>
<tr>
<td>Bild</td><td><?php echo"$Data [Bild]"?></td>
<tr>
<td>Name</td><td><?php echo"$Data [Name]"?></td>
<tr>
<td>Alter</td><td><?php echo"$Data [Alter]"?></td>
<tr>
<td>Rasse</td><td><?php echo"$Data [Rasse]"?></td>
<tr>
<td>Besitzer</td><td><?php echo"$Data [Besitzer]"?></td>
</tr>
</TABLE>
</center>
</body>
</HTML>
|