RE: [PHP] replace ' with "

From: Date: Wed, 11 Feb 2004 14:49:41 +0000
Subject: RE: [PHP] replace ' with "
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177389@lists.php.net to get a copy of this message
str_replace(''',"'", $StringToReplace); should work -----Original Message----- From: Diana Castillo [mailto:diana@interhotel.com] Sent: Wednesday, February 11, 2004 4:33 PM To: php-general@lists.php.net Subject: [PHP] replace ' with " How do I replace all single quotes with double quotes in a string for echoing it with the double quotes? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 ext 214 Fax : 00-34-915228673 email: diana@hotelkey.com Web : http://www.hotelkey.com http://www.destinia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -------------------------------------------------------------------- Disclaimer This e-mail transmission contains confidential information, which is the property of the sender. The information in this e-mail or attachments thereto is intended for the attention and use only of the addressee. Should you have received this e-mail in error, please delete and destroy it and any attachments thereto immediately. Under no circumstances will the Cape Technikon or the sender of this e-mail be liable to any party for any direct, indirect, special or other consequential damages for any use of this e-mail. For the detailed e-mail disclaimer please refer to http://www.ctech.ac.za/polic or call +27 (0)21 460 3911

« previous php.general (#177389) next »