Re: replace ' with "

From: Date: Wed, 11 Feb 2004 14:39:40 +0000
Subject: Re: replace ' with "
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177388@lists.php.net to get a copy of this message
Diana Castillo wrote:
How do I replace all single quotes with double quotes in a string for echoing it with the double quotes?
$text = str_replace("'", '"', $text); http://php.net/str_replace and please at least RTFM before posting here in future. -- Stuart

« previous php.general (#177388) next »