On Tue, Oct 28, 2008 at 2:30 PM, Josh <[EMAIL PROTECTED]> wrote: > What about just silently converting newline to '\n' and tab to '\t', > etc. I mean if you cant put those characters in a string, who will > notice? or better, just use a single-quoted string. >
Random programmer here, but I really can't agree with silently converting them. The less automagic foo that acts as a safety net, the better. Or do we need to revisit gpc_magic_quotes? This theoretically shouldn't happen on live code if it was tested at least once. But I am all for smart error messages and single quotes. It will bite everyone at least once, and then they will learn. -- -Nathan Gordon If the database server goes down and there is no code to hear it, does it really go down? <esc>:wq<CR>