RE: [PHP] \ problem

From: Date: Tue, 24 Jul 2001 16:23:34 +0000
Subject: RE: [PHP] \ problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-59366@lists.php.net to get a copy of this message
Try stripslashes or something like that (not sure on the name of the function). It is the opposite of addslashes. If you look for addslashes in the function list that you will see the other one. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: rcovell@rolet.com Phone: 816.210.7145 Fax: 816.753.1952 -----Original Message----- From: AJDIN BRANDIC [mailto:abrandic@coventry.ac.uk] Sent: Tuesday, July 24, 2001 11:19 AM To: php-general@lists.php.net Subject: [PHP] \ problem I have a string that contains "\'" and I want to remove "\" and have only "'". Tried $mynewstring=ereg_replace("\'","'",$mystring); but no luck. What is the way around this. Regards Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#59366) next »