note 21865 deleted from function.str-replace by torben

From: Date: Wed, 29 May 2002 20:47:53 +0000
Subject: note 21865 deleted from function.str-replace by torben
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-31167@lists.php.net to get a copy of this message
I had a case where I was sending a customer name to another page... it worked great until I hit the name Tim's Towing... it would come across as Tim/'s Towing. It took me awhile... but this removes the problem: $customer_name=str_replace("\\'","'",$customer_name); Jerry

« previous php.notes (#31167) next »