[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Can you break out of a [sql type=list] loop?
****** message to minivend-users from "Alan Sparks" <asparks@nss.harris.com> ******
Is there any way to break out of a [sql type=list] loop early? There are
tags for the [item-list] and [search-list] loops to terminate the loop, but
I see no equivalents for [sql].
I'd like to create a simple loop to display only the first 5 elements of the
result. I've tried using [sql type=array] etc, but I can't get the eval
past the safe.
Thanks for any advice on how this could be accomplished.
-Alan
=============
Alan Sparks, UNIX Network Administrator <asparks@nss.harris.com>
Harris Communications, Camarillo CA (805) 389-2430
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list