Daten werden nicht ausgegeben

Westernriding
Hallo (:
Und zwar möchte ich bei meinem Steckbrief gerne dass die Daten ausgegeben werden, und zwar von dem Pferd welches den ID 1 besitzt, doch anstatt überhaupt irgendwelche Daten auszugeben zeigt es mir immer an dass das Pferd nicht existieren würde.
Hab nun lange nach dem Fehler gesucht, und auch ein paar Leute draufschaun lassen, allerdings nichts gefunden...

Würde mich über Hilfe freuen (:

php:
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:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
<html>

<head><link rel="stylesheet" type="text/css" href="css.css">
</head>

<body>

<?php
include("datenbank.php");
$id $_GET[id];

$Ergebnis mysql_query("SELECT * FROM Hengste where id='$id[1]'");
if(mysql_num_rows($Ergebnis) == 0) { 
  echo "Dieses Pferd existiert nicht!"; } else {
  $Data mysql_fetch_array($Ergebnis);
 echo "<table width="90%">;
<tr>
<td class="ueber">ALLGEMEIN</td>
</tr>
</table>

<br>

<table width="550">
<tr>
<td width="275" class="hell"><img src="$Data[Bild]"></td>
<td rowspan="2" width="275" class="hell">$Data[Charakter]</td>
</tr>
<tr>
<td width="300" class="hell"><a href="$Data[Copyrightadresse]">$Data[Copyright]</a></td>
</tr>
</table>

$Data[Bild1]$Data[Bild2]$Data[Bild3]$Data[Bild4]

<br>

<table width="90%">
<tr>
 <td width="45%" class="unterschrift">Name:</td>
 <td width="45%" class="hell">$Data[Name]</td> 
</tr> 
<tr> 
<td class="unterschrift">Jahrgang:</td>
  <td class="hell">$Data[Jahrgang]</td> 
</tr> 
<tr> 
<td class="unterschrift">Geschlecht:</td>
<td class="hell">$Data[Geschlecht]</td> 
</tr> 
<tr> 
<td class="unterschrift">Rasse:</td>
<td class="hell">$Data[Rasse]</td>
</tr> 
<tr> 
<td class="unterschrift">Fellfärbung</td>
<td class="hell">$Data[Farbe]</td>
</tr>
</table>

<br>
<br>

<table width="90%">
<td class="ueber">ZUCHT</td>
</table>
<table width="90%">
<tr>
<td colspan="2" class="ueberschrift"><center>Stammbaum</center></td>
</tr>
<tr>
<td rowspan="2" class="hell">$Data[Mutter]</td>
<td class="hell">$Data[Muttermutter]</td>
</tr>
<tr>
<td class="hell">$Data[Muttervater]</td>
</tr>
<tr>
<td rowspan="2" class="hell">$Data[Vater]</td>
<td class="hell">$Data[Vatermutter]</td>
</tr>
<tr>
<td class="hell">$Data[Vatervater]</td>
</tr>
</table>

<br>

<table width="50%">
<tr>
<td colspan="2" class="ueberschrift"width="50%"><center>Infos</center></td>
</tr>
<tr>
<td class="hell">Gekört </td>
<td width="25%" class="hell">$Data[Gekört]| <a href="$Data[Urkunde]" target="_blank">Urkunde</a></td>
</tr>
<tr>
<td class="unterschrift" width="25%">Vorbesitzer:</td>
<td width="25%" class="hell">$Data[Vorbesitzer]</td>
</tr>
<tr>
<td class="unterschrift" width="25%">Züchter:</td>
<td width="25%" class="hell">$Data[Züchter]</td>
</tr>
<tr>
<td class="unterschrift" width="25%">Herkunft:</td>
<td width="25%" class="hell">$Data[Herkunft]</td>
</tr>
<tr>
<td class="unterschrift" width="25%">Besitzer:</td>
<td width="25%" class="hell">$Data[Besitzer]</td>
</tr>
</table>

<br>

<table width="50%">
<tr>
<td colspan="2" class="ueberschrift">Nachwuchs</td>
</tr>
 <tr>
 <td class="hell">$Data[Nachwuchs]</td>
 </tr>
</table>

<br>
<br>

<table width="90%">
<td class="ueber">AUSBILDUNG</td>
</table>
<table width="90%">
<tr>
<td class="hell">$Data[Veranlagerung]</td>
</tr>
</table>

  <br>
  
<table width="90%">
<tr>
<td colspan="4" class="ueberschrift">Erfolge</td>
</tr>
  <tr>
  <td class="unterschrift">Disziplin</td>
  <td class="unterschrift">1. Plätze</td>
  <td class="unterschrift">2. Plätze</td>
  <td class="unterschrift">3. Plätze</td>
  </tr>
<tr>
<td class="unterschrift">$Data[Disziplin1]</td>
<td class="hell">$Data[EPlaetze1]</td>
<td class="hell">$Data[ZPlaetze1]</td>
<td class="hell">$Data[DPlaetze1]</td>
</tr>
 <tr>
 <td class="unterschrift">$Data[Disziplin2]</td>
 <td class="hell">$Data[EPlaetze2]</td>
 <td class="hell">$Data[ZPlaetze2]</td>
 <td class="hell">$Data[DPlaetze2]</td>
 </tr>

</table>"; }
?>

</body>
</html>


TeKi1792
1. Hast du die Anführungszeichen nach der Select from ... nicht geschlossen.
2. Ich weiß zwar nicht, wie es in deiner DB aussieht, aber ich denke, du müsstest da nicht id=id1, sondern id=1 schreiben.:-) Außer in der DB steht in dem Feld auch id1 ;D
Das wäre mal das, was mir aufgefallen wäre.:-)
Lg
Westernriding
Ahh danke großes Grinsen
Das id1 wars ((:
Die Anführungszeichen sind doch geschlossen, oder? (: