Gossamer Forum
Home : Products : DBMan : Customization :

processing a + sign

Quote Reply
processing a + sign
Does anyone know of a way to escape the "+" sign. If it gets used in a field, it ends up disappearing and I can't think of a way to escape it or anything so that it shows up.

thanks!

Quote Reply
Re: processing a + sign In reply to
Try the following in the sub html_record routine:

Code:

$rec{'FieldName'} =~ s/+/\+/g;


Change FieldName to the field name where the plus sign is causing problems.

Regards,

Eliot Lee
Quote Reply
Re: processing a + sign In reply to
I guess I may have not stated myself clearly, SORRY! What i want to do is print a + sign. every time an entry is entered, say "1+4+3=8"

then the entry is displayed as "1 4 3=8" all i want is a plus sign =)

Quote Reply
Re: processing a + sign In reply to
any ideas?

Quote Reply
Re: processing a + sign In reply to
In Reply To:
any ideas?
Unfortunately, no...

Out of curiosity, I just tried adding/modifying records with the string 1+2+3=6 on 3 separate DBMan databases... not one seemed to have a problem.

Is the "+" showing up in default.db?

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/