[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] if problems under 4.04a
****** message to minivend-users from Eric Paul <epaul@spellbook.net> ******
I'm having a weird problem with MiniVend 4.04a. I have a results page that
I want to return several fields from the products database. Two of the
fields have some overlap, and if they contain the same data, I don't want
to clutter the HTML by displaying both of them. I am trying to do a
compare on the two fields, and if they match I don't output the second
field to the page. Sounds straightforward, but for some reason it's giving
me a big headache. I've tried to write this code a number of ways, but
none of them are working. Here's the latest code I've tried:
[if data [item-field field1] ne [item-field field3]]
<FONT FACE="Arial" COLOR="__HEADERTEXT__" SIZE="-1"><B>Field2: [item-field
field2]
[/if]
Can someone tell me what I'm doing wrong? I'm sure it's something simple,
but it's had me baffled all morning...
Eric
---
Eric Paul
SpellBook Systems
http://www.spellbook.net
-
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