Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

outputting a query variable

Status
Not open for further replies.

leadman

Programmer
Jun 11, 2001
177
US
Hi all,
I ran the following query at the top of my template:
SELECT count, uniqueVisitors
FROM counter
WHERE page = 'survey'

then later on the page i tried to show those values with the following:
The number of uniue visitors is #uniqueVisitors#

but i get this error:
Error resolving parameter UNIQUEVISITORS

ColdFusion was unable to determine the value of the parameter. This problem is very likely due to the fact that either:
You have misspelled the parameter name, or
You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, or CFTABLE tag.

The error occurred while evaluating the expression:
#uniqueVisitors#

how do i use the values returned by the query?

 
oops - got it working - okay i need to ready error messages better :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top