Variable is resetting itself...

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34804
interpreted = N
texte = Hi guys,I am having a problem with the variable [myflag] resetting itself after going through the loop only once when I am creating a scenario where it is going through the loop twice. It IS going through the loop twice but the variable is resetting itself back to false after the first time.[text]myFlag=F[/text][loop start=1&end=[search db=/db/download.db&nedownload_iddata=[blank]][numfound][/search]] [showif [getchars start=1&end=3][interpret][download_[index]][/interpret][/getchars]=101] [hideif [myFlag]=T] [sendmail to=[lookup db=/db/session.db&value=[session_id]&lookinfield=session_id&returnfield=user _email]&from=sales@aecsoft.com&subject=Thank you for your download] [include file=/includes/messages/ftsgen.inc&raw=F] [/sendmail] [myFlag]=T [/hideif] [/showif] [/loop] Matthew Levy AEC Software, Inc. mlevy@aecsoft.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Variable is resetting itself... (John Butler 2000)
  2. Variable is resetting itself... (Matthew Levy 2000)
Hi guys,I am having a problem with the variable [myflag] resetting itself after going through the loop only once when I am creating a scenario where it is going through the loop twice. It IS going through the loop twice but the variable is resetting itself back to false after the first time.[text]myFlag=F[/text][loop start=1&end=[search db=/db/download.db&nedownload_iddata=[blank]][numfound][/search]] [showif [getchars start=1&end=3][interpret][download_[index]][/interpret][/getchars]=101] [hideif [myFlag]=T] [sendmail to=[lookup db=/db/session.db&value=[session_id]&lookinfield=session_id&returnfield=user _email]&from=sales@aecsoft.com&subject=Thank you for your download] [include file=/includes/messages/ftsgen.inc&raw=F] [/sendmail] [myFlag]=T [/hideif] [/showif] [/loop] Matthew Levy AEC Software, Inc. mlevy@aecsoft.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Matthew Levy

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Keep away (1997) Multipart Form - Ascertain File Type (2007) [append] vs. [appendfile] delta + question? (1997) [OT] Am I an Idiot? (2004) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) 4.0 image uploading /features (2000) grep is really pathetic sometimes (2003) Setting up shop (1997) Paypal merchant code tricks or pitfalls (2003) Showing unopened cart (1997) ODBC (2005) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Use of Back and Reload Buttons on ShoppingCart page? (1997) pass a captured value (2004) [WebDNA] Converting minutes to hours (2008) ShowIf Question (1998) Not really WebCat (1997) WebCat2: Found Items syntax, etc. (1997) Search Engines (2000) [BULK] [WebDNA] [BULK] which of these tags exist in 7.0 (2011)