hi all,
this is a general question on the attempt to realize a table output.
i'm displaying thumbnail pictures on a page. i want to put them in a table. always 4 in a row, then a new row 4 four and so on. it has to be dynamic, because there are not the same number of pictures in a section. i know how to creat new line for one db entry. but how do i put it an entry into a <td> tag and then make cf realize that a new line has to be created? do i have to work with <cfif>?
this is the sql-code:
<cfquery name="detailled" datasource="travels">
select * from pictureDB where country = '#which#' order by descriptionShort
</cfquery>
does anyone have a tutorial?
tnx in advance.
adrian
this is a general question on the attempt to realize a table output.
i'm displaying thumbnail pictures on a page. i want to put them in a table. always 4 in a row, then a new row 4 four and so on. it has to be dynamic, because there are not the same number of pictures in a section. i know how to creat new line for one db entry. but how do i put it an entry into a <td> tag and then make cf realize that a new line has to be created? do i have to work with <cfif>?
this is the sql-code:
<cfquery name="detailled" datasource="travels">
select * from pictureDB where country = '#which#' order by descriptionShort
</cfquery>
does anyone have a tutorial?
tnx in advance.
adrian