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?

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