Re: proper way to check if a container is empty?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27111
interpreted = N
texte = The best way is to do this:[showif [URL][NIS][/URL]=%5BNIS%5D] [math show=f]NIS=0[/math] [/showif]in general, because if it's possible that a variable may have user input, they may be putting in characters that are comparison operators (like <,>,=,!) that could mess up statement. This would resolve those problems.At 10:37 AM 2/6/00, you wrote: >[showif [NIS]=[RAW][NIS][/RAW]][math]NIS=0[/math][/showif] >Unless you have already set the variable to >or if it is a field from database, the you would use >[showif [NIS]=][math]NIS=0[/math][/showif] > > > > > >sorry to ask this again... but: > >is this the proper way to check to see if a container is empty?- > > > >[showif [URL][NIS][/URL]=[RAW][NIS][/RAW]][math]NIS=0[/math][/showif] > > > >-John > > > > > >------------------------------------------------------------- > >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging > Server. > >To end your Mail problems go to . > > > >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 > > > > >Paul Fowler >Director > >|-----------------------------------| >| Get Real Gear, Inc. >| POB 11199 >| Aspen, CO 81612 >| fax/voice (970)544-0527 >| paul@gearworld.com >| http://www.gearworld.com >|-----------------------------------| > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >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 > =============================================== Howard Wolosky Webcatalog Consultant+The Pubb - The best solution for your messageboard needs. Written in 100% Webcat. (www.thepubb.com) ===============================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: proper way to check if a container is empty? (Kenneth Grome 2000)
  2. Re: proper way to check if a container is empty? (Webcat 2000)
  3. Re: proper way to check if a container is empty? (WebDNA Support 2000)
  4. Re: proper way to check if a container is empty? (John Butler 2000)
  5. Re: proper way to check if a container is empty? (Howard Wolosky 2000)
  6. Re: proper way to check if a container is empty? (Paul Fowler 2000)
  7. proper way to check if a container is empty? (John Butler 2000)
The best way is to do this:[showif [url][NIS][/URL]=%5BNIS%5D] [math show=f]NIS=0[/math] [/showif]in general, because if it's possible that a variable may have user input, they may be putting in characters that are comparison operators (like <,>,=,!) that could mess up statement. This would resolve those problems.At 10:37 AM 2/6/00, you wrote: >[showif [NIS]=[raw][NIS][/RAW]][math]NIS=0[/math][/showif] >Unless you have already set the variable to >or if it is a field from database, the you would use >[showif [NIS]=][math]NIS=0[/math][/showif] > > > > > >sorry to ask this again... but: > >is this the proper way to check to see if a container is empty?- > > > >[showif [url][NIS][/URL]=[raw][NIS][/RAW]][math]NIS=0[/math][/showif] > > > >-John > > > > > >------------------------------------------------------------- > >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging > Server. > >To end your Mail problems go to . > > > >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 > > > > >Paul Fowler >Director > >|-----------------------------------| >| Get Real Gear, Inc. >| POB 11199 >| Aspen, CO 81612 >| fax/voice (970)544-0527 >| paul@gearworld.com >| http://www.gearworld.com >|-----------------------------------| > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >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 > =============================================== Howard Wolosky Webcatalog Consultant+The Pubb - The best solution for your messageboard needs. Written in 100% Webcat. (www.thepubb.com) ===============================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Howard Wolosky

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:

access denied problem (1997) More Shopping Cart Problems (2000) WCS Newbie question (1997) Adding a product from another site (1997) Not really WebCat - need HTML Grider (1997) Problem displaying search result (1997) Search Engine bots (2002) HomePage Caution (1997) Carriage Returns on mail receipt (2002) Cold Fusion Buster (1997) Problems when user hit back (2000) updating with ProductEditor (1998) Safari browser and WebDNA set-cookies (2003) Pull Down Search (2000) syntax question, not in online refernce (1997) Large databases in WebCat (1997) More on the email templates (I like it) (1997) Re[3]: Problem with new formvariables (2000) WebCat2b12 forgets serial # (1997) [ShowCart] and GET vs. POST (1997)