Link to home
Start Free TrialLog in
Avatar of nashbubble
nashbubble

asked on

Outing putting a fieldname called 1?

I have a field name called 1(one) from a table called users.  It is a number.  When I output it, it generates an error.  Is there a way round this?

Code :

<cfquery name="test" datasource="test">
select 1
from users
</cfquery>

*<cfoutput query="test">#1#</cfoutput>???

This part with the asterix(*) generates an error.

ASKER CERTIFIED SOLUTION
Avatar of PatrikMueller
PatrikMueller

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nashbubble
nashbubble

ASKER

thank you it works just fine