[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] SQL Select Issue.
****** message to minivend-users from Mark Stosberg <mark@summersault.com> ******
Nick Pleis wrote:
>
> try:
>
> [query sql="select (code, category) where code=[value widget]" list=1]
> [sql-code]has the first item returned
> [sql-param category] for the second
> [sql-param code] also gets first item
> [/query]
>
> That should work IIRC.
>
> Nick
What I'm wondering is: "When is it appropriate to use the [sql] tag and
_not_ use the list attribute? Which is another way to ask the original
question "How do you handle the return values from a [sql] query when
you are don't use the list option?
-mark
<<-------------------------------------------------------------->>
personal website < Summersault Website Design
http://mark.stosberg.com/ > http://www.summersault.com/
-
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