Hi, Thursday, September 26, 2002, 12:02:29 AM, you wrote: RM> Could somebody help me with the correct syntax for an ereg_replace to RM> replace literal occurences of the quote character in a string. I can't RM> seem to get it right.
RM> In other words, I have a form input variable -- that literally may look RM> like this: "some_value", and I want it to literally look like this: RM> some_value. RM> I tried: RM> $key=str_replace ("\"", "", "$key"); RM> and other variations but can't get it to work. RM> What am I missing? RM> Thanks! try $key = str_replace('"', '', $key); -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php