added to fetch the db result

This commit is contained in:
2025-05-29 14:19:26 +02:00
parent 41772fccdc
commit 291bda45e6
+1 -1
View File
@@ -542,7 +542,7 @@ $currency_currency = strtolower($productData->currency_code);
$databaseConnection = new mysqli("localhost", "furatalog_usr", "1yRNpaUtXu[cw@-m", "furatalog");
$result = $databaseConnection->query("SELECT * FROM `currency` WHERE currency=\"" . $currency_currency . "\";");
$content_currency_id = $result->item(0)["id"];
$content_currency_id = $result->fetch_assoc->item(0)["id"];
/*