Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

hallo.

in einem Script benutze ich für eine Statistik diesen Code:

$ID=Mysql_fetch_array(mysql_query("Select max(ID) as ID from Statistik"));

echo Mysql_error();

$ID=$ID[ID]+1;

$SQL="insert into Statistik values($ID,$a,$b,$c,$e,$f,$g,$h,$i,$j,$k,$ergebnis1,$ergebnis2,$ergebnis3,$ergebnis4,$ergebnis5,'$Waehrung')";

mysql_query($SQL);

echo mysql_error();

//echo $SQL;

In der Statistik möchte ich zusätzlich noch das aktuelle Datum (000-00-00), die Uhrzeit (00:00:00) und die Unix Zeit speichern, wie könnte ich das am geschicktesten anfügen?

Wie schon erwähnt verstehe ich mich eher wenig auf die notwendige Syntax. ;-)

Danke für Hilfe.


//Datum und Uhrzeit ermitteln
$datum2 = time();
$Datum = date("Y-m-d",$datum2);
$Uhrzeit = date("H:i:s",$datum2);
[/php]

Danke für den Link.

Sobald ich die Variablen hier in mein Script eingefügt habe, klappt es nicht mehr und gibt eine leere Seite zurück, kann man die nicht "irgend wo" einsetzen?

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.