Tags: php

A blog by Erling Løken Andersen on random entrepreneurial topics.

  • Splitting a string into arrays in Smarty

    This isn’t supposed to be a blog about programming, but I’m working a lot with PHP and Smarty these days, and whenever I manage to crack a problem, I get this strange feeling of acchievement. Then I come here to brag. Anyway, here goes: «How do I split a...

    Read more
  • Include PHP-file in Smarty

    I’m teaching myself PHP and Smarty these days, and today I ran across a common problem: «How do I include a PHP-file – or execute PHP-code – when using the Smarty template engine?» After banging my head against the wall for a couple of hours, I finally found the...

    Read more