added to fetch the db result
This commit is contained in:
1 parent
41772fccdc
commit
291bda45e6
1 file changed
+1
-1
@@ -542,7 +542,7 @@ $currency_currency = strtolower($productData->currency_code);
|
|||||||
$databaseConnection = new mysqli("localhost", "furatalog_usr", "1yRNpaUtXu[cw@-m", "furatalog");
|
$databaseConnection = new mysqli("localhost", "furatalog_usr", "1yRNpaUtXu[cw@-m", "furatalog");
|
||||||
$result = $databaseConnection->query("SELECT * FROM `currency` WHERE currency=\"" . $currency_currency . "\";");
|
$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"];
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in new issue
Block a user