Hi everyone.

I need to remove " from a string.

I though I could use str_replace or whatever, but I don't know how.

I can't do this:
$test = str_replace(""","",$test);
or
$test = str_replace(\""\","",$test);

Any help is GREATLY appreciated.

Thanks for your time.

    you almost had it with:

    $test = str_replace(\""\","",$test);

    but try this:

    $test = str_replace("\"","",$test);

    -D

      or, even easier, do this...

      <?php
      str_replace('"', '', $test);
      ?>
      
        Write a Reply...