Category Archives: Coding

Custom PHP Framework

Hi there, Welcome to my tutorial on how to build your own custom framework using PHP and Symfony components. This tutorial will be made up of a collection of posts, which aims to closely describe the process of combining different sets of components into a complete (and hopefully) easy to use framework. Right off the …
Read More


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