Actually, contains does work on arrays.

At 09:44 PM 10/23/2006, you wrote:
contains is a string function, not an array function. It checks if a piece of text is in another piece of text. Take a look at <@filter>

--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

On Oct 23, 2006, at 6:27 PM, David Mark Weiss wrote:

Hi,

I would as I create a dynamic "select " statement, i would like to see if the option value is IN an array. or if the array contains the field as I loop through.


I have tried:

<@if expr="<@var name="array2"> contains @@list[<@currow>, 1]">
do nothing
<@else>
<option value="@@list[<@currow>, 1]">@@list[<@currow>, 1]</option>
</@if>

No Joy.

Can someone tell me what I am doing wrong?

Thanks for the help


Mark Weiss
http://trustthechildren.blogspot.com



________________________________________________________________________
TO UNSUBSCRIBE: Go to

http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to

http://www.witango.com/developer/maillist.taf

=====================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com

CoachVille: For coaches and people taking teleclasses
http :// www.cvcommunity.com?af=69474



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to