Parse error: syntax error, unexpected $end in
php
Creating a contact form using classes part 1
Sep 20th
Table of contents for Contact Form
- Creating a contact form using classes part 1
Recently I was asked at work to build a PHP email contact form that could do some specific things.
- Allow the user to choose different departments/emails to send their submission to
- Allow the user to input specific things into boxes More >
Autoloader basics
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 >