Re: hideif glitch
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52922
interpreted = N
texte = I made it work by doing this:[search db=3Dsomedb.db&geskudatarq=3D0][founditems][hideif [url][description][/url]=3D][title]
[description]
[/hideif][/founditem][/search]But I don't understand why there would be URL characters in my db. Is =that even possible? I'm running BBEDIT so if anyone can help, that would =be great. Thanks.Justin CarrollOn Wednesday, November 4, 1942, Justin Carroll
wrote:>I'm having sort of a glitch with my WebDNA code and a [hideif]>statement. If I do this:>>[search db=3Dsomedb.db&geskudatarq=3D0]>[founditems]>[title]>
>[description]>
>[/founditem]>[/search]>>... and [description] is empty in the database, it will show>nothing for the description field; however, if I do this:>>[search db=3Dsomedb.db&geskudatarq=3D0]>[founditems]>[hideif [description]=3D]>[title]>
>[description]>
>[/hideif]>[/founditem]>[/search]>>... then nothing shows up on the page. It's as if the search>never happened. I have this same thing going on on other pages>for different fields in the same db but this is not happening>for them. Please help, thanks.>>Justin Carroll>>>>------------------------------------------------------------->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://webdna.smithmicro.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I made it work by doing this:[search db=3Dsomedb.db&geskudatarq=3D0][founditems][hideif [url][description][/url]=3D][title]
[description]
[/hideif][/founditem][/search]But I don't understand why there would be URL characters in my db. Is =that even possible? I'm running BBEDIT so if anyone can help, that would =be great. Thanks.Justin CarrollOn Wednesday, November 4, 1942, Justin Carroll wrote:>I'm having sort of a glitch with my WebDNA code and a [hideif]>statement. If I do this:>>[search db=3Dsomedb.db&geskudatarq=3D0]>[founditems]>[title]>
>[description]>
>[/founditem]>[/search]>>... and [description] is empty in the database, it will show>nothing for the description field; however, if I do this:>>[search db=3Dsomedb.db&geskudatarq=3D0]>[founditems]>[hideif [description]=3D]>[title]>
>[description]>
>[/hideif]>[/founditem]>[/search]>>... then nothing shows up on the page. It's as if the search>never happened. I have this same thing going on on other pages>for different fields in the same db but this is not happening>for them. Please help, thanks.>>Justin Carroll>>>>------------------------------------------------------------->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://webdna.smithmicro.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://webdna.smithmicro.com/
Justin Carroll
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:
Exclamation point (1997)
Sku numbers (1997)
Help! WebCat2 bug (1997)
writing cart to db (1998)
Retaining formatting (2000)
[WriteFile] problems (1997)
Shopping problems with 2.1b3 acgi (1997)
Summing a field full of numbers ... (1997)
unit ship cost GRRRRRRR! (2001)
temporary database? (2000)
customizing the color of user's pages (1997)
Aaron Kant do contextses (2000)
Time Zones + GMT (2002)
WebCat2: Items xx to xx shown, etc. (1997)
Shared Webstar Directory (1998)
Re1000001: Setting up shop (1997)
Text data with spaces in them... (1997)
Https not showing products (2004)
GrandTotal not right (1997)
Re[2]: webcat restarting script on Linux? (1999)