Re: code to phantom spacing
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 36683
interpreted = N
texte = Jon Robinson wrote:> > >> > >FYI- The db was again hit and blanks added. I often leave a db open as I> > >work and can watch it be updated, and this one is being updated.> > There ends> > >up being two records with blanks in each field.> >> > The blanks won't be a problem, they are simply ignored.> >> >> > >After your comment that it might be a db problem, I got to thinking, the> > >same might be true about includes. I know it's not quite the same, but it> > >turns out that an include I'm using to check alphanumerics for> > each of the> > >many fields in my form is somehow producing the majority of the garbage.> >> > There must be a character in it other than a cr or a lf then, because> > my solution eliminates all the cr's and lf's.> >> > You've never posted the source from your browser after running my> > solution, so I don't have any actual text to look at to see what> > characters are causing the problem. Please post the resulting source> > HTML after running my solution so I can check it, thanks.> > Ken,> > If by the code I get when I view source after running the code, here is is.> I actually posted these in several previous messages, so I have not been> ignoring you request. Maybe you are refering to something else though.> > source code from browser after running your solution:> http://www.chakra5.net/client/jon/webcat/trouble1.html> http://www.chakra5.net/client/jon/webcat/trouble2.html> http://www.chakra5.net/client/jon/webcat/trouble3.htmlThese are all 404's> > database after the same:> http://www.chakra5.net/client/jon/webcat/noReturns1.db> http://www.chakra5.net/client/jon/webcat/noReturns2.db> http://www.chakra5.net/client/jon/webcat/noReturns3.dbThese are all worthless, since we cannot see any characters outside ofwhat a browser will handle (and then it will interpret them as it seesfit).> > string check loop that is exaserbating the issue:> http://www.chakra5.net/client/jon/webcat/string_check.inc> This is just plain ugly. I don't have time to decode what you are trying to do, but for a start, if you are doing math on a variable,then it needs to be a math variable, right??? Wrapping [text] around[math] is just pure wrong; there is no good way to say it. Change all of your variables to [math] except [all_chars_are_legal] which isa logical and can be stored as text.I have no idea what you intend the [convertchars] to do; I am assuming you are trying to suppress all of the returns generated by that text.You should forget about doing anything about extra returns until yourinside code works, which I doubt it does now.John--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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:
Jon Robinson wrote:> > >> > >FYI- The db was again hit and blanks added. I often leave a db open as I> > >work and can watch it be updated, and this one is being updated.> > There ends> > >up being two records with blanks in each field.> >> > The blanks won't be a problem, they are simply ignored.> >> >> > >After your comment that it might be a db problem, I got to thinking, the> > >same might be true about includes. I know it's not quite the same, but it> > >turns out that an include I'm using to check alphanumerics for> > each of the> > >many fields in my form is somehow producing the majority of the garbage.> >> > There must be a character in it other than a cr or a lf then, because> > my solution eliminates all the cr's and lf's.> >> > You've never posted the source from your browser after running my> > solution, so I don't have any actual text to look at to see what> > characters are causing the problem. Please post the resulting source> > HTML after running my solution so I can check it, thanks.> > Ken,> > If by the code I get when I view source after running the code, here is is.> I actually posted these in several previous messages, so I have not been> ignoring you request. Maybe you are refering to something else though.> > source code from browser after running your solution:> http://www.chakra5.net/client/jon/webcat/trouble1.html> http://www.chakra5.net/client/jon/webcat/trouble2.html> http://www.chakra5.net/client/jon/webcat/trouble3.htmlThese are all 404's> > database after the same:> http://www.chakra5.net/client/jon/webcat/noReturns1.db> http://www.chakra5.net/client/jon/webcat/noReturns2.db> http://www.chakra5.net/client/jon/webcat/noReturns3.dbThese are all worthless, since we cannot see any characters outside ofwhat a browser will handle (and then it will interpret them as it seesfit).> > string check loop that is exaserbating the issue:> http://www.chakra5.net/client/jon/webcat/string_check.inc> This is just plain ugly. I don't have time to decode what you are trying to do, but for a start, if you are doing math on a variable,then it needs to be a math variable, right??? Wrapping [text] around[math] is just pure wrong; there is no good way to say it. Change all of your variables to [math] except [all_chars_are_legal] which isa logical and can be stored as text.I have no idea what you intend the [convertchars] to do; I am assuming you are trying to suppress all of the returns generated by that text.You should forget about doing anything about extra returns until yourinside code works, which I doubt it does now.John--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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/
John Peacock
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:
Is [thisurl] http or https? (1998)
Trouble with formula.db (1997)
2nd WebCatalog2 Feature Request (1996)
PCS Frames (1997)
[BoldWords] WebCat.acgib15Mac (1997)
HELP WITH DATES (1997)
Country & Ship-to address & other fields ? (1997)
Feature req. (2002)
Public beta 4 of WebCatalog 4.0 is now available (2000)
summ=T (2003)
WebCat2: Items xx to xx shown, etc. (1997)
RE: Loss in form (1998)
[OT] Am I an Idiot? (2004)
quick setheader questions... (2000)
Re[2]: WebCatalog keeps quiting on Solaris, and support isn' (2000)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Blocking form spam (2006)
contextual shownext (1998)
Summing fields (1997)
read and write you own cookies with webcat (1997)