Re: [GENERAL] Parser error
От
Charles Hornberger
Тема
Re: [GENERAL] Parser error
Дата
Msg-id
3.0.5.32.19990607162945.00b303a0@k4azl.net
Список
You're probably not escaping single quotes. If someone enters "it's" and you don't transform it to "it\'s", the parser will fail. I don't know if there's a builtin function for this in Perl -- in PHP you can call addslashes() like so: $foo = addslashes($foo); Cheers, Charlie At 08:55 PM 6/7/99 +0200, you wrote: >Hi, >I have a problem with postgresql and perl. >I made an database and it is all working fine at my place but by "some" >other persons not. But this is diffrend from computer to computer. >At some places it's working fine and onother it is not working at all. >Really weird if you ask me.. > >The error is : >ERROR: parser: parse error at or near "s" > >The script logs in with a username and password. > >Cya, >Djon Kleine > > >
В списке pgsql-general по дате отправления