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.

Unitedkingdom

User
  • Registriert

  • Letzter Besuch

  1. Unitedkingdom hat sein Profilbild geändert
  2. Okay danke und wie sieht es mit den dazugehörigen Variablen aus um es an die Datenbank zu schicken? Bei mir kommt immer nur Error raus. <?php require_once('classes/objekt.class.php'); if(!empty($_REQUEST['id_objekt'])) { $o = objekt::laden($_REQUEST['id_objekt']); } else { $o = new objekt(); } if(isset($_POST['abgeschickt'])) { $objekt->name_objekt = $_POST['name']; $objekt->kategorie_objekt = $_POST['kategorie']; $objekt->intervall_objekt = $_POST['intervall']; $objekt->speichern(); header("location:objekt.php"); } ?> <form action="" method="post"> <input type="text" name="name" value="<?= $o->name_objekt ?>"> <input type="text" name="objektkat" value="<?= $o->kategorie_objekt ?>"> <input type="hidden" name="id_objekt" value="<?= $o->id ?>"> <input type="hidden" name="abgeschickt" value="true"> <input type="submit" value="OK"> </form>
  3. Wie oben beschrieben fehlt dir ledeglich ein Leerzeichen.
  4. Hi, wie arbeite ich am besten klassenorientiert? Das ist mein aktueller code $db = new db(); if(is_numeric($this->id)){ $sql = "UPDATE ww SET objekt_name='".$this->objekt_name."', kategorie_objekt='".$this->kategorie_objekt."' WHERE id_ww=".$this->id.""; $db->query($sql); } else{ $sql = "INSERT INTO ww(objekt_name, kategorie) VALUES('".$this->name_objekt."',".$this->kategorie_objekt."')"; $db->query($sql); } return;

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.