[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Problem with if-condition
****** message to minivend-users from jojo <hans-joachim.leidinger@home.gelsen-net.de> ******
Hello Stefan,
try this (without testing):
[if explicit]
[condition]
return 1 if '[sql-param login]' = '[data session user]';
return 0;
[/condition]
is eq
[else]
is not eq
[/else]
[/if]
I use such construction to test the value of my data-field, but i have
not test with sql-param or data session user! Let me know, if you have
success!
Joachim
Stefan Hornburg wrote:
>
> ****** message to minivend-users from Stefan Hornburg <racke@linuxia.de> ******
>
> Anyone knows why the second works, but the first one not ?
>
> 131c131
> < [if explicit [sql-param login] eq [data session user]]
> ---
> > [if type="explicit" field="[sql-param login]" op="eq" compare="[data session user]"]
>
> Ciao
> Racke
>
> --
> LinuXia - Solutions of Cool Competence - Internetprogramming and more
> D-30163 Hannover, Waldstraße 4, 0511-3941290 (http://www.linuxia.de/)
> Come to the land of real computing where penguins and their friends
> spread the word of Open Source which crushes windows instantly.
> -
> 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
--
Hans-Joachim Leidinger hans-joachim.leidinger@home.gelsen-net.de
-
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