include ("dbconnect.php"); $ID = "174"; $abfrage = "SELECT * FROM $tabelle1 WHERE ID = '$ID'"; $ergebnis = mysqli_query($dblink, $abfrage); if (mysqli_error($dblink)) echo "Fehler: " . $abfrage; while($row = mysqli_fetch_object($ergebnis)) { $titel = $row->titel; $m1 = $row->menu1; // Menuposition merken $m2 = $row->menu2; $m3 = $row->menu3; } ?>
|
|
Warning: Undefined variable $tabelle1 in /home/sites/site100035896/web/unsere-schwarzwaldbahn.de/menu.php on line 4 Warning: Undefined variable $dblink in /home/sites/site100035896/web/unsere-schwarzwaldbahn.de/menu.php on line 5 Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/sites/site100035896/web/unsere-schwarzwaldbahn.de/menu.php:5 Stack trace: #0 /home/sites/site100035896/web/unsere-schwarzwaldbahn.de/menu.php(5): mysqli_query() #1 /home/sites/site100035896/web/unsere-schwarzwaldbahn.de/newsletter.php(34): include('...') #2 {main} thrown in /home/sites/site100035896/web/unsere-schwarzwaldbahn.de/menu.php on line 5 |