PHP .user.ini

Just discovered a great new feature of PHP 5.3. .user.ini can override the main php.ini directives. Anything not classified as PHP_INI_SYSTEM in the List of php.ini directives can be set here and used locally.

Horizontal rule: css styling

I’ve just realised how adaptable the <hr> (horizonal rule) element can be by using css styling. I’ve never much like the default look and so have often changed it to a simple single line.

Doctrine query builder in Symfony 2

I’ve found many different opinions on the best way to use Doctrine query builder in Symfony 2. I needed to return a query joining four tables. I hit many errors before finding a working solution.

Scroll to Top