[LIST.PHP] Get data from database and outputs a json