Single quote

From: Date: Fri, 06 Jul 2001 09:28:38 +0000
Subject: Single quote
Groups: php.general 
Request: Send a blank email to php-general+get-56468@lists.php.net to get a copy of this message
I got a data file containing this line: $ 1'000'000.- Then I read and echo this line $fp = fopen ( $sFilename,"r"); $sData = fgets ( $fp, 1000 ) ) echo $sData Now what came out is $ 1\'000\'000.- I tried to get rid of these slashes with ereg_replace( "\\'", "'", $sData ); but I had no luck. Who can help? Andy.

« previous php.general (#56468) next »