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:
|
<?php
include('db.php'); ?>
<html>
<head>
<meta http-equiv="Content-Language" content="de">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Neue Seite 1</title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<p class="head">Sättel</p>
<p >Hier findest du verschiedene Sättel zur Auswahl</p>
<?
$sql = "SELECT name, beschreibung, farbe, preis, id FROM Shop_Sattel";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)) {
echo "
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="200" id="AutoNumber1">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="200" id="AutoNumber2">
<tr>
<td width="100%" align="center"><b>$row[name]</b></td>
</tr>
<tr>
<td width="100%" align="center">$row[beschreibung]</p>
<p>la<p>$row[farbe]</td>
</tr>
<tr>
<td width="100%" align="center">$row[preis]€</td>
</tr>
</table>
</td>
</tr>
</table> ";
}
mysql_close();
?>
</body>
|