Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
$sql = "SELECT
`referer`,
COUNT(`referer`) AS `anzahl`
FROM
`w_referer`
GROUP BY
`referer`
ORDER BY
`anzahl` DESC";
$sql = "SELECT
`referer`,
COUNT(`referer`) AS `anzahl`
FROM
`w_referer`
GROUP BY
`referer`
ORDER BY
`anzahl` DESC";
$result = mysql_query($sql) or die(mysql_error());
while($row = mysql_fetch_assoc($result)) {
echo "Von ".$row["referer"]." kamen ".$row["anzahl"]." Personen<br>\n";
}
Und wenn du fertig bist mit dem asugeben, muss aber noch endwhile; hinzuPHP:$sql = "SELECT `referer`, COUNT(`referer`) AS `anzahl` FROM `w_referer` GROUP BY `referer` ORDER BY `anzahl` DESC"; $result = mysql_query($sql) or die(mysql_error()); while($row = mysql_fetch_assoc($result)) { echo "Von ".$row["referer"]." kamen ".$row["anzahl"]." Personen<br>\n"; }
$sql = "SELECT
`referer`,
COUNT(`referer`) AS `anzahl`
FROM
`w_referer`
GROUP BY
`referer`
ORDER BY
`anzahl` DESC";
$result = mysql_query($sql) or die(mysql_error());
while($row = mysql_fetch_assoc($result)) {
echo "Von ".$row["referer"]." kamen ".$row["anzahl"]." Personen<br>\n";
}
endwhile;
So ein schwachsinn...Und wenn du fertig bist mit dem asugeben, muss aber noch endwhile; hinzu
[...]