[ic] Strange query problem - punches through if's
Carl Bailey
carl at endpoint.com
Fri Sep 25 01:48:14 UTC 2009
On Sep 24, 2009, at 3:32 PM, Rick Bragg wrote:
> Hi,
>
> I have the following problem that:
Rick,
I can't explain your hanging [/query] tag, but I can suggest a way
around the problem ...
> [query
> type=list
> label=test
> prefix=test
> list_prefix=test_list
> sql=|
> SELECT code, title
> FROM products
> WHERE sku = '5'
> LIMIT 0,1
> |]
> [test_list]
> [test-param description]<br>
>
> [tmp test]1[/tmp]
[tmp statement][if scratch test]select foo from bar where baz[/
tmp][else]select alpha from bravo where charlie[/else][/if][/tmp]
[query type=list label=test2 prefix=test2 list_prefix=test2_list
sql="[scratch statement]"]
> [test2_list]
>
> - [test2-param description]<br>
>
> [/test2_list]
> [/query]
>
> [/test_list]
> [/query]
Regards,
Carl
. . . . . . . . . . . . . . . . . .
Carl Bailey
End Point Corp.
t: 919-323-8025
. . . . . . . . . . . . . . . . . .
More information about the interchange-users
mailing list