|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Displaying more than one result in cards??
<cfquery name="getmakes" datasource="hj">
SELECT * FROM stock WHERE makeID='#url.makestring#' </cfquery> <wml> <cfif #getmakes.recordcount# eq 0 > <card id="noresults" title=""> <p> No results were found.<br/> </p> </card> <cfelse> <cfset id=#getmakes.id#> <cfoutput> <card id="results" title=""> <p> #id#<br/> </p> </card> </cfoutput> </cfif> </wml> The page above is relatively simple, basically the user in the previous page entered a string (makestring), the query then looks for records in the database. The thing is, there is going to be more than one result, how can I display all the records (id), I just dont know how to do it with the limitations of cards (in coldfusion it would be easy). Thanks! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Displaying more than one result in cards?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|