N nicholas j New member Jun 11, 2011 #1 lets say I want this: $string = "I like pie"; to look like this: $string = "I like pie"
J JarFillsme New member Jun 12, 2011 #2 Yes, $string = "I like pie"; $string = str_replace("\n", "", $string); $string = str_replace("\r", "", $string); -------- after this $string = "I like pie"
Yes, $string = "I like pie"; $string = str_replace("\n", "", $string); $string = str_replace("\r", "", $string); -------- after this $string = "I like pie"
R Ratchetr New member Jun 14, 2011 #3 Why not use . $string = "I" . " like" . " pie"; Isn't that what . does?