PHP-Code:
$query = "SELECT *
FROM personen p, klassen k
WHERE p.klasse ='$kl' AND p.geschlecht='m'
AND p.klasse = k.klasse
ORDER BY p.nachname";
$result = mysql_db_query($dbName,$query);
joachim
$query = "SELECT *
FROM personen p, klassen k
WHERE p.klasse ='$kl' AND p.geschlecht='m'
AND p.klasse = k.klasse
ORDER BY p.nachname";
$result = mysql_db_query($dbName,$query);
Kommentar