String replace in php

From: Date: Fri, 23 Apr 2004 04:30:03 +0000
Subject: String replace in php
Groups: php.general 
Request: Send a blank email to php-general+get-184346@lists.php.net to get a copy of this message
Hellow, I need to replace a character " with "\. Using php how to do this. i have given like this but it is giving parse error.... $temps=str_replace('"','"\',$temp); Can anyone tell me how to do this ? Regards, Uma

« previous php.general (#184346) next »