setLimit(15, 0); $query = <<fetchAll(MDB2_FETCHMODE_ASSOC); echo(json_encode($array)); $mdb2->disconnect(); ?>