Second, do you really need those characters in the first place? Maybe put a notice on the page that only A-Z, 0-9 chars are allowed and then strip them our with something like $field =~ s/#|&|'//g
If you really need to have these characters, it sounds like perl is trying to interpret these characters rather than just printing them, try escaping them: $field =~ s/(&|#|')/\\$1/g;
hope that helps
In reply to Re: Wierd DB Question
by dhammaBum
in thread Wierd DB Question
by lisaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |