Adding multiple db columns to ValueList()?
I'm looping over a query inside cfscript. I need to place the results inside of another loop so I'm storing the results of the first query inside of a value list and then displaying that value list inside the second query results.
The only problem is I need to put more than one db column side by side in the value list
My code below...I need to add more columns beside the fname from the getstadd query. Is this even possible?
...
for (
intRow = 1 ;
intRow LTE getstaff.RecordCount ;
intRow = (intRow + 1)
)
{ }
var allstaff = "<span class='staffoncal'>" & ValueList(getstaff.fname, "<br />") & "</span>";
outString = outString & "height='#height#'>" & allstaff & "<p />" & allevents & "</td> ";
