Syntax Error
Parse error: syntax error, unexpected $end in
Parse error: syntax error, unexpected $end in
Sep 20th
Recently I was asked at work to build a PHP email contact form that could do some specific things.
Aug 26th
Since this is my first post I’ll keep it nice and simple. While there’s a perfectly good autoloader here it’s quite simple and can be expanded.
A basic autoloader is this:
function __autoload($class_name) { require_once $class_name . '.php'; }
As is said this is pretty basic, but it gets the job done, but this will load all the classes from a More >