Added a CodeIgniter table snippet and cleaned up some formatting.