PHP class for building order forms