Nvidia 610.62 driver lands with big bug fixes and Empulse support by Pulasthi Ariyasinghe
There is a new driver available for Nvidia GeForce hardware owners, and it's carrying a whole lot of bug fixes. The WHQL-certified 610.62 Game Ready driver is also adding support for Empulse.
Empulse lands from 1047 Games. That may be familiar to first-person shooter fans, as this is the studio that has been behind Splitgate and the Splitgate: Arena Reloaded sequel. This latest FPS entry will land into early access on June 24, and it will have support for DLSS 4.5 with dynamic multi-frame generation and Nvidia Reflex on day one.
FIXED World of Warcraft: Gaming stability improvements [5563205]
FIXED Apex Legends: Occasional visual corruption after extended gameplay [6239327]
FIXED Users may observe DLSS settings being grayed out in certain games after updating to display driver 610.47 [6262805]
FIXED Improved gaming stability in multi-monitor configurations when using V-SYNC with DLSS Frame Generation [6158481]
FIXED Resolved an issue that could cause jittering or ghosting in some DirectX 11 games when Smooth Motion is enabled [5937897]
FIXED Resolved an issue that could cause some games to crash when launched with Smooth Motion enabled [5466398]
FIXED [Ada] Resolves a frame pacing issue on certain monitors when G-SYNC is enabled [6226972]
FIXED Resolved an issue that prevented the EDID from being read on certain monitors causing them to be identified as "NVIDIA NV-Failsafe” [6005508]
FIXED Resolved an issue where certain monitors would not wake from sleep mode [5806798/5635230]
FIXED General stability improvements when the system fails to create a new allocation [5449920]
Nvidia has only listed a single open issue for this release:
“Prefer Maximum Performance” Power Management Mode may not be applied correctly [6007998]
The NVIDIA 610.62 driver is now available for download from the NVIDIA app. For those who want to download it directly, standalone links are here. Here are the official release notes (PDF).
Question
Jose_49
Hi people! I've been trying to get a receipt # from a database and building up an array with it.
I've modified the code, at least 5 times to make it work, but I need a last push, and I can't seem to get it:
Explaining:
The code is trying to do the following:
Create an array which first keys are the receipt number, and to that receipt number add all the products that were fetched from the database.
What I'm getting:
The array is being currently overwrote by the last receipt #. I know that the root of all this evil is this portion of the code:
if(!in_array($factura,$this->trigger)) $this->trigger[] = $factura;
[b] $this->factura = [/b]array($factura => array('producto_id' => array($row['producto_id']),
'producto' => array($row['producto']),
'cantidad' => array($row['cantidad']),
'price_i' => array($row['price_i']),
'tax' => array($row['tax'])
)
);
[/CODE]
The bold part should actually be:
$this->factura[] =
[/CODE]
But by doing so, the whole schema breaks, and the receipts are not appended in order.
Now, in English:
The result I'm getting without any mods:
Array
(
[4] => Array
(
[producto_id] => Array
(
[0] => E5030
[1] => E5060
[2] => E0094
[3] => E7485
)
[producto] => Array
(
[0] => Product # 1
[1] => Product # 2
[2] => Product # 3
[3] => Product # 4
)
[cantidad] => Array
(
[0] => 1
[1] => 1
[2] => 1
[3] => 1
)
[price_i] => Array
(
[0] => 286.62
[1] => 301.92
[2] => 153
[3] => 481
)
[tax] => Array
(
[0] => 1
[1] => 1
[2] => 1
[3] => 1
)
)
)
[/CODE]
WHICH IS GOOD, but the other receipts are overwritten.
But if I made the change I was talking about before, I'd get:
Array
(
[0] => Array
(
[1] => Array
(
[producto_id] => Array
(
[0] => A4318
)
[producto] => Array
(
[0] => Product name
)
[cantidad] => Array
(
[0] => 1
)
[price_i] => Array
(
[0] => 771.12
)
[tax] => Array
(
[0] => 0
)
)
)
[1] => Array
(
[producto_id] => Array
(
[0] => 102992
)
[producto] => Array
(
[0] =>Product name
)
[cantidad] => Array
(
[0] => 1
)
[price_i] => Array
(
[0] => 1128.12
)
[tax] => Array
(
[0] => 0
)
)
[2] => Array
(
[2] => Array
(
[producto_id] => Array
(
[0] => A5816
)
[producto] => Array
(
[0] => Product name
)
[cantidad] => Array
(
[0] => 1
)
[price_i] => Array
(
[0] => 630.36
)
[tax] => Array
(
[0] => 0
)
)
)
[3] => Array
(
[4] => Array
(
[producto_id] => Array
(
[0] => E5030
)
[producto] => Array
(
[0] => Product name
)
[cantidad] => Array
(
[0] => 1
)
[price_i] => Array
(
[0] => 286.62
)
[tax] => Array
(
[0] => 1
)
)
)
[4] => Array
(
[producto_id] => Array
(
[0] => E5060
[1] => E0094
[2] => E7485
)
[producto] => Array
(
[0] => Product name
[1] => Product name
[2] => Product name
)
[cantidad] => Array
(
[0] => 1
[1] => 1
[2] => 1
)
[price_i] => Array
(
[0] => 301.92
[1] => 153
[2] => 481
)
[tax] => Array
(
[0] => 1
[1] => 1
[2] => 1
)
)
)
Array
[/CODE]
What I'm really after:
Array
(
[1] => Array
(
[producto_id] => Array
(
[0] => E5030
)
[producto] => Array
(
[0] => Product # 1
)
[cantidad] => Array
(
[0] => 1
)
[price_i] => Array
(
[0] => 286.62
)
[tax] => Array
(
[0] => 1
)
)
)
Array
(
[2] => Array
(
[producto_id] => Array
(
[0] => E5030
[1] => E5060
)
[producto] => Array
(
[0] => Product # 1
[1] => Product # 2
)
[cantidad] => Array
(
[0] => 1
[1] => 1
)
[price_i] => Array
(
[0] => 286.62
[1] => 301.92
)
[tax] => Array
(
[0] => 1
[1] => 1
)
)
)
Array
(
[4] => Array
(
[producto_id] => Array
(
[0] => E5030
[1] => E5060
[2] => E0094
[3] => E7485
)
[producto] => Array
(
[0] => Product # 1
[1] => Product # 2
[2] => Product # 3
[3] => Product # 4
)
[cantidad] => Array
(
[0] => 1
[1] => 1
[2] => 1
[3] => 1
)
[price_i] => Array
(
[0] => 286.62
[1] => 301.92
[2] => 153
[3] => 481
)
[tax] => Array
(
[0] => 1
[1] => 1
[2] => 1
[3] => 1
)
)
)
[/CODE]
**Note that the 3 is missing on purpose because the receipt's number does not belong to the user I'm currently fetching on the database.
I know this post is looooooooooooooooooooooooooooooooooooong, but if someone could give me a little help I'd appreciate it a lot! Thanks :D
Link to comment
https://www.neowin.net/forum/topic/1128314-breaking-my-head-on-a-multi-dimensional-array/Share on other sites
2 answers to this question
Recommended Posts