<?php $healthy = array("\"", "\r", "\n"); $yummy = array("\\\"", "\\r", "\\n"); $phrase = "\"foobar "; echo str_replace($healthy, $yummy, $phrase);
You have javascript disabled. You will not be able to edit any code.