> I have a variable(s) that hold the string: > > "name" > > and I'd like to kill the quotes so it contains: > > name $new = str_replace('"','',$old); Using a regex as others have suggested is a bad idea for something this trivial. -Rasmus -- 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]
- [PHP] how do you erase quotes from variable? Michael Zornek
- Re: [PHP] how do you erase quotes from variable? Nik Gare
- RE: [PHP] how do you erase quotes from variable? Rasmus Lerdorf
- RE: [PHP] how do you erase quotes from variable? Boget, Chris
- RE: [PHP] how do you erase quotes from variable? Dustin Butler