Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
$summe = (daten->bwsr_sum);
<?php
// Datenbankverbindung
$sql = "SELECT SUBSTRING_INDEX(brwsr_browser, ' ', 1) AS brwsr_browser, SUM(brwsr_times) AS brwsr_sum
FROM t3r_browser
GROUP BY brwsr_browser";
$result = mysql_query($sql) or die(mysql_error());
echo "<table>\n";
echo " <tr>\n";
echo " <td>Browser</td>\n";
echo " <td>Anzahl</td>\n";
echo " </tr>\n";
while ($row = mysql_fetch_array($result)) {
echo " <tr>\n";
echo " <td>" . $row['brwsr_browser'] . "</td>\n";
echo " <td>" . $row['brwsr_sum'] . "</td>\n";
echo " </tr>\n";
}
echo "</table>\n";
?>
<?php
// Datenbankverbindung
$sql = "SELECT SUBSTRING_INDEX(browser, ' ', 1) AS brwsr_browser, SUM(anzahl) AS brwsr_sum
FROM counter_browser
GROUP BY brwsr_browser";
$result = mysql_query($sql) or die(mysql_error());
echo "<table>\n";
echo " <tr>\n";
echo " <td>Browser</td>\n";
echo " <td>Anzahl</td>\n";
echo " </tr>\n";
while ($row = mysql_fetch_array($result)) {
echo " <tr>\n";
echo " <td>" . $row['brwsr_browser'] . "</td>\n";
echo " <td>" . $row['brwsr_sum'] . "</td>\n";
echo " </tr>\n";
}
echo "</table>\n";
?>