Thanks and more help please?
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38011
interpreted = N
texte = Thanks, Scott. I got past the error message but now NOTHING is beingdisplayed? It seems like it is trying to go through the [then] block insteadof the [else] block. I am just going straight to the page with no form andno variables. Any idea what's wrong?
Web Catalog Search[if [action]=search][then][character]=[GetChars start=1&end=1][code][/Getchars][if[character]=1|[character]=2|[character]=3|[character]=4|[character]=5|[character]=6|[character]=7|[character]=8|[character]=9|[character]=0] [then] [number]=[countchars][code][/countchars] [if [number]=5] [then] [searchcode=Zipcode] [/then] [else] [searchcode=Telenum] [/else] [/if] [/then] [else] [searchcode=City] [/else][/if][if [type]=name] [then] [search db=ohiostate.db&bw[searchcode]data=[code]&eqCompanydata=[search]] [/then] [else] [search db=ohiostate.db&bw[searchcode]data=[code]&woSection_headdata=[search]] [/else][/if]Found [numfound] matches.
[founditems]
[company]
[section_head]
[if [telenum]!] [then] [telenum]
[/then][/if]Name: [if [first_name]=] [then] Not Given [/then] [else] [first_name] [last_name]
[/else][/if][address]
[city], [state] [zipcode]
Employees: [no_of_employees]
[/founditems][/search][/then][else]
[/else][/if]Also, how can I set a variable to the GetChars tag? Is how I'm doing itright?JeffThanks,Jeffcoopa2004@aol.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:
Thanks, Scott. I got past the error message but now NOTHING is beingdisplayed? It seems like it is trying to go through the [then] block insteadof the [else] block. I am just going straight to the page with no form andno variables. Any idea what's wrong?Web Catalog Search[if [action]=search][then][character]=[GetChars start=1&end=1][code][/Getchars][if[character]=1|[character]=2|[character]=3|[character]=4|[character]=5|[character]=6|[character]=7|[character]=8|[character]=9|[character]=0] [then] [number]=[countchars][code][/countchars] [if [number]=5] [then] [searchcode=Zipcode] [/then] [else] [searchcode=Telenum] [/else] [/if] [/then] [else] [searchcode=City] [/else][/if][if [type]=name] [then] [search db=ohiostate.db&bw[searchcode]data=[code]&eqCompanydata=[search]] [/then] [else] [search db=ohiostate.db&bw[searchcode]data=[code]&woSection_headdata=[search]] [/else][/if]Found [numfound] matches.
[founditems]
[company]
[section_head]
[if [telenum]!] [then] [telenum]
[/then][/if]Name: [if [first_name]=] [then] Not Given [/then] [else] [first_name] [last_name]
[/else][/if][address]
[city], [state] [zipcode]
Employees: [no_of_employees]
[/founditems][/search][/then][else][/else][/if]Also, how can I set a variable to the GetChars tag? Is how I'm doing itright?JeffThanks,Jeffcoopa2004@aol.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/
Ron Parker
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:
Template Cache problem (2000)
WCS Newbie question (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Re(2): NT version and O'reily's WebSite (1997)
Keep away (1997)
Mime Headers for Mail (1998)
For those of you not on the WebCatalog Beta... (1997)
Separate SSL Server (1997)
Country & Ship-to address & other fields ? (1997)
Clear command and ShoppingCart.tmpl (1997)
WebTEN vs webSTAR (1998)
Date problems (1997)
off topic (1999)
Sorting by date (1997)
Major Security Hole (solution with Welcome) (1998)
Running 2 two WebCatalog.acgi's (1996)
random sorting broken (was Re[2]: php vs WebCatalog) (2000)
Formulas.db not working (2006)
ampersand (1998)