Category Archives: Coding

str_replace

So you are trying to use PHP to catch a line break from a┬átextarea, for example? Looks like you’ve been banging your head for hours! Don’t forget that \n, \r, \t, etc. are only interpolated as special characters inside double-quote string literals. That being said, you might want to do this:   instead of this: …
Read More