ColdFusion: Can you pull out a unique record from a query using recordCount?

后端 未结 5 425
孤独总比滥情好
孤独总比滥情好 2021-01-24 23:38

It\'s a bit of tricky question, however, my page for most rated bands displays the band logos in order of how high they have been rated. My only problem is i want to count throu

5条回答
  •  南方客
    南方客 (楼主)
    2021-01-25 00:04

    If you're looking to do odd/even lists separately, then you can use the currentrow property of the query combined with the modulo operator (%) to work out if the row is odd or even:

    
      
        
      
    
    

提交回复
热议问题