in reply to Re^5: Is there a way to make a JSON out of multiple records from MySQL?
in thread Is there a way to make a JSON out of multiple records from MySQL?
Honestly, I got that. But I can't figure out which is uninitialized.
$arrayref is an array of hashfeferences, and $typehint_raws are empty, but existing arrays, one for each record.
And that's where's I'm stuck over what could be "uninitialized"
Is it possible that when I print Dumper $typehint_raws that I should be getting more than just?
.... $VAR1->[0], $VAR1->[0], $VAR1->[0], ...
After all, each record has three fields.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Is there a way to make a JSON out of multiple records from MySQL?
by AnomalousMonk (Archbishop) on May 12, 2022 at 21:08 UTC | |
by bartender1382 (Beadle) on May 12, 2022 at 23:14 UTC | |
by AnomalousMonk (Archbishop) on May 13, 2022 at 05:50 UTC | |
by bartender1382 (Beadle) on May 15, 2022 at 18:22 UTC |