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:
WebCat (or other) Indexing (1999)
Multiple Search Fields (1998)
webcat license???? (1997)
can WC render sites out? (1997)
Search inside Include (1998)
Sort Order on a page search (1997)
Summary search -- speed (1997)
Initiating NewCart (1997)
addlineitem mystery (2003)
Help name our technology! I found it (1997)
WebCat on Apache (2002)
Merging databases (1997)
using showpage and showcart commands (1996)
emailer (1997)
Re:listfiles-looking for slick solution (1997)
Download URL & access on the fly ? (1997)
BIG PROBLEMS with Checkboxes!!! (1998)
Calculating multiple shipping... (1997)
Emailer setup (1997)
OT - Mail Solution (2002)