Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] [if] problem



******    message to minivend-users from zb <zb@bisp.com>     ******



"Christian J. Müller" wrote:
> 
> ******    message to minivend-users from "Christian J. =?iso-8859-1?Q?M=FCller?=" <cmueller@polinet.ch>     ******
> 
> Have you tried
> [if  ...]
> [then]
> [/then]
> [else]
> [/else][/if]
> sometimes this helps.
Yes, I have tried. When I add [then][/then] to outer [if], it will be
ok.
When I add [then][/then] to both outer and inner [if], it will fail. 


> Chris
> 
> zb wrote:
> >
> > ******    message to minivend-users from zb <zb@bisp.com>     ******
> >
> > Hi all:
> >
> >   nesting of [if] seems haveing trouble.
> > ==========a.html==================================
> > <html>
> > [set a]1[/set]
> > [set b]2[/set]
> > [scratch a]<BR>
> > [scratch b]
> >
> > [if type="scratch" term="b" op="==" compare="1"]
> >         b==1
> >         [if type="scratch" term="a" op="==" compare="1"]
> >                 a==1
> >         [else]
> >                 a<>1
> >         [/else]
> >         [/if]
> > [else]
> >         b<>1
> > [/else]
> > [/if]
> > </html>
> > =======================================================
> >
> > zb
> > -
> > 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
> -
> 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
-
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


Search for: Match: Format: Sort by: