11.06.2022, 10:22
hallo, hier mein SQL Code in PHP
sobald ich die zweite Tabelle mit der Bedingung ( JOIN TelegramDescription WHERE LEFT ...) eingebe kommt es zur Fehlermeldung!
Code:
$result = $link->query("SELECT COUNT(*) AS id FROM TelegramStorage
JOIN TelegramDescription WHERE LEFT (TelegramDescription.bosmon = 1)");
$TelegramStorage_Count = $result->fetch_all(MYSQLI_ASSOC);
$total = $TelegramStorage_Count[0]['id']
Zitat:Fatal error: Uncaught Error: Call to a member function fetch_all() on bool in /volume1/web/oesoft/monitorOESoft.php on line 7 Error: Call to a member function fetch_all() on bool in /volume1/web/oesoft/monitorOESoft.php on line 7 Call Stack: 0.0006 361416 1. {main}() /volume1/web/oesoft/monitorOESoft.php:0