Different ways of building a table in php, using datatables