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:
RE: File Uploads (1998)
[MATH SHOW=F]. show=f does what? (1999)
HTTP Header info (1997)
emailer (1997)
Only charge card when product shipped ? (1997)
WebCat2 as a chat server? (1997)
Associative lookup style? + bit more (1997)
Security (2002)
Carts? (1998)
WebCat2 several catalogs? (1997)
Best way to add data to .db (1999)
Cookie Crumble (1998)
New Site Announcement: MusicianStore.com goes live with (1998)
WebCatalog2 Feature Feedback (1996)
problem: mail changed (1997)
OK, here goes... (1997)
Re[3]: Re[3]: Problem with new formvariables (2000)
foreign languages, email, webcat (1998)
normal users.db calls ... (1998)
weird happenings (1997)