I set firstname and lastname. The first set of output tags gives me two sets of names, which is correct. The second set output tags only gives me one name. Why?
<cfquery name="GetInfo" datasource="datasrc">
Select firstname, lastname
from prjoff_us
where (id in (8, 9))
</cfquery>
<cfoutput query="getInfo">
<cfset xfirstname= Trim(firstname)>
<cfset xlastname= Trim(lastname)>
#xfirstname# #xlastname#
</cfoutput>
<cfoutput>
#xfirstname# #xlastname#
</cfoutput>
<cfquery name="GetInfo" datasource="datasrc">
Select firstname, lastname
from prjoff_us
where (id in (8, 9))
</cfquery>
<cfoutput query="getInfo">
<cfset xfirstname= Trim(firstname)>
<cfset xlastname= Trim(lastname)>
#xfirstname# #xlastname#
</cfoutput>
<cfoutput>
#xfirstname# #xlastname#
</cfoutput>