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:
emailer setup (1997)
Using Encrypt/Decrypt (2003)
Getting Emailer to send mail (1997)
Transfering [text] variables (2000)
[WebDNA] Detect the server's ip address? (2015)
[ModDate] & [ModTime] ? (1997)
Payments -> Bank Accounts (2005)
Request Time Out (1997)
WebDNA-Talk Digests (1997)
Possible Bug in 2.0b15.acgi (1997)
WebCat b13 CGI -shownext- (1997)
What does this error mean? (2000)
Speaking of... (1999)
Location of Browser Info.txt file (1997)
How to Sort Summ data ? (1997)
Showif, Hideif reverse logic ? (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Adding To items to cart at once (1999)
WebTen and WebCat (1997)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)