Weird subquery result in output, but not in CFDUMP or query run in MySQL Workbench
Hello, all,
I've got a query that is grabbing picture album names, the associated "cover" image for each album, other bits of information for each picture album, and a subquery to grab the total number of images per album.
If I run the query in MySQL Workbench, everything is correct. If I do a CFDUMP of the query, everything is correct.
When I output the results to the page, the values for number of images per album is concatenating all of the values, and decrementing the number of (number of images) per iteration of the output.
For example, let's pretend that my query as run in MySQL Workbench looks like:
albumID name caption active imageID imageWidth imageHeight totImgs
==================================================================================================================================
{uuid} July 4, 2003 1 {uuid} 896 600 50
{uuid} Benefit 1 {uuid} 1000 750 47
{uuid} Hooters 2006 1 {uuid} 1000 750 72
First album has 50 images, second album has 47 images, third album has 72 images.
In CFDUMP, everything is as it is for MySQL Workbench (above). But for CFOUPUT, when trying to output the number of images per album, I get:
504772
4772
72
It's concatenating all three values for the first output, the second and third values for the second output, and just the third value for the third output.
What could be causing this?
V/r,
^_^
