Re: problem with str_replace and single quote

From: Alvaro G Vicario (alvaro_QUITAR_REMOVE_at_telecomputeronline.com)
Date: 09/16/04


Date: Thu, 16 Sep 2004 10:14:46 +0200


*** Hugo Coolens wrote/escribió (Thu, 16 Sep 2004 09:51:28 +0200):
>> $arabic=str_replace ("'","\\'", $row[0]);
>>
> Unfortunately this does not work, I already tried that, the problem
> seems to be the first single quote in the expression.

This works fine for me (I've just tested it). Are you sure there are
actually single quote chars in your text and not only tildes like ` or ´?

-- 
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions
--