1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
|
$lottozahlen = array("$row[zahl1]", "$row[zahl2]", "$row[zahl3]", "$row[zahl4]", "$row[zahl5]");
sort($lottozahlen);
$lotto = array("$row[zahl1]", "$row[zahl2]", "$row[zahl3]", "$row[zahl4]", "$row[zahl5]");
sort($lotto);
if($lotto[$i] == $lottozahlen[0] OR $lotto[$i] == $lottozahlen[1] OR $lotto[$i] == $lottozahlen[2] OR $lotto[$i] == $lottozahlen[3] OR $lotto[$i] == $lottozahlen[4])
{
echo "<b>$lotto[$i]</b>";
}
else
{
echo "$lotto[$i]";
} |