Danke vieeeeeeeeeeelmals....
werde ich gleich ausprobieren...
werde ich gleich ausprobieren...
$query = "SELECT DISTINCT land FROM abitur WHERE stadt='".$_GET[id]."' AND land='".$_GET[id]."'";
$query = "SELECT DISTINCT land FROM abitur WHERE stadt='bristol' AND land='".$_GET[id]."'";
PHP
include ("../db_connect/db.php");
$query = "SELECT DISTINCT land FROM abitur";
$result = mysql_query($query) or die (mysql_error());
while ($line = mysql_fetch_array($result)) {
<a href="select_land.php?id=<?php echo $line['land']; ?>">
PHP
include ("../db_connect/db.php");
$query = "SELECT * FROM abitur WHERE land='".$_GET['id']."'";
$result = mysql_query($query) or die (mysql_error());
while ($line = mysql_fetch_array($result)) {
<a href="select_stadt.php?id=<?php echo $line['land'] . '&stadt=' . $line['stadt']; ?>">
<?PHP
include ("../db_connect/db.php");
$query = "SELECT * FROM abitur WHERE stadt='".$_GET[stadt]."'";
$result = mysql_query($query);
while ($line = mysql_fetch_array($result)) { ?>
Kommentar