I have a situation where I'm running a query (or several) to output strings
for flash remoting, but I'm still getting white space in the source pages.
You can see an example of this at:
http://69.10.45.176/flashquery_bio_landing.cfm... just do view source.
Right now I'm using <cfsetting enablecfoutputonly="Yes"> and wrapping the
queries in <cfsilent>, but the white space is still there. Any ideas on how
I can get rid of this?
Current page code is:
<cfsetting enablecfoutputonly="Yes">
<cfsilent>
<cfquery datasource="#dsn#" name="bio_icons">
select bio_id, name, title, icon1, icon2
from tbl_bios
where display=1
</cfquery>
<!--- create output string for flash --->
<cfset nme="">
<cfset ttl="">
<cfset ico1="">
<cfset ico2="">
<cfset id="">
<cfloop query="bio_icons">
<cfset nme=ListAppend(nme,name,"|")>
<cfset ttl=ListAppend(ttl,title,"|")>
<cfset ico1=ListAppend(ico1,icon1,"|")>
<cfset ico2=ListAppend(ico2,icon2,"|")>
<cfset id=ListAppend(id,bio_id,"|")>
</cfloop>
</cfsilent>
<cfoutput>&nme=#nme#&ttl=#ttl#&ico1=#ico1#&ico2=#ico2#&id=#id#</cfoutput>
Thanks.
Robert B. Harrison
Director of Interactive services
Austin & Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119
F : 631.434.7022
www.austin-williams.com
Great advertising can't be either/or... It must be &.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308044
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4