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: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952

-----Original Message-----
From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 11:19 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to