Using MySQL Example App for Codeigniter API on PHP