On Tuesday, May 6, 2003, at 11:46 AM, Cornelius Conboy wrote:
I'm pretty sure <@if...> statements can be nested wouldn't this work?
<@IF EXPR="<@CGIPARAM Name=CLIENT_IP>='0.0.0.0'">
<@IFEMPTY Value="<@VAR...>"> no cookie text <@ELSE> cookie text </@IF> <@ELSE> </@IF>
Cornelius
on 5/6/03 11:35 AM, Roland Dumas at [EMAIL PROTECTED] wrote:
That seems to work for everything except the IFEMPTY If I write it as @IF EXPR="<@VAR name=myvar value=''>" instead of @IFEMPTY, it doesn't seem to work.
How do I combine IFEMPTY with another test in an AND logic?
On Tuesday, May 6, 2003, at 11:23 AM, Steve Smith wrote:
Use parenthesis in the <@IF EXPR=...> such as:
<@IF EXPR="(<@VAR...> = '') AND (<@CGIPARAM Name=CLIENT_IP>='0.0.0.0')">
Hope this helps,
Steve Smith
Oakbridge Information Solutions Office: (519) 624-4388 GTA: (416) 606-3885 Fax: (519) 624-3353 Cell: (416) 606-3885 Email: [EMAIL PROTECTED] Web: http://www.oakbridge.ca
_____________________________________________________________________ __-----Original Message----- From: Roland Dumas [mailto:[EMAIL PROTECTED] Sent: May 6, 2003 2:17 PM To: [EMAIL PROTECTED] Subject: Witango-Talk: @IFEMPTY AND
I want to define a logic in which an piece of text is written if the visitor is coming from a specific IP address AND they do not have a cookie. I have:
<@IFEMPTY Value="<@VAR...>"> no cookie text <@ELSE> cookie text </@IF>
which looks just for the cookie. Now, I want to add the AND to the first step
<@IF EXPR="<@CGIPARAM Name=CLIENT_IP>='0.0.0.0'">
_
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
