On Sunday 12 November 2006 15:27, Martin Vít wrote: > it should be if (....) *out = '\\' instead of '\'' or am I missing > something? Nope. To escape ticks portably, you double them. Backslashing ticks works only in MySQL, not in most databases. -- Tilghman