Can anyone tell me what I'm doing wrong? I'm trying to loop
through my recordcount of a query to create multiple <divs>
that another piece of code will rotate. That seems to be working
fine, but I can't figure out how to get different info from my
query statment into each one of those <divs> It picks up the
first record in my query and repeats it. Here is the code I'm
using.
<cfquery name="qfeatured" datasource="mydb">
SELECT * FROM Places WHERE featured = 'yes' ORDER BY
establishment
</cfquery>
<cfoutput query="qfeatured">
<cfif establishment_type EQ "Restaurant" OR
establishment_type EQ "Bar/Restaurant">
You were right Dan, that was only giving me numbers....which
didn't help at all. BKBK's code did the trick. I think at one point
I tried that, turns out the <cfif establishment_type EQ
"Restaurant" OR establishment_type EQ "Bar/Restaurant"> was
causing it to skip some numbers in it's count.